Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 188.8 kB / 487.4 MB, free: 5.031 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.657/1.657, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008789/0.000879, allocations: 105.4 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.289e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3487, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.591, allocations: 217.9 MB / 1.419 GB, free: 7.102 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/1.592, allocations: 97.5 kB / 1.419 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.3023/1.894, allocations: 123.1 MB / 1.539 GB, free: 9.441 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.393e-06/1.894, allocations: 0 / 1.539 GB, free: 9.441 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001116/1.894, allocations: 43.98 kB / 1.539 GB, free: 9.398 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003568/1.898, allocations: 1.606 MB / 1.541 GB, free: 7.742 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/1.898, allocations: 12.03 kB / 1.541 GB, free: 7.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/1.91, allocations: 1.878 MB / 1.543 GB, free: 5.848 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/1.913, allocations: 1.208 MB / 1.544 GB, free: 4.582 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/1.913, allocations: 39.94 kB / 1.544 GB, free: 4.543 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/1.914, allocations: 75.89 kB / 1.544 GB, free: 4.469 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003217/1.917, allocations: 1.696 MB / 1.546 GB, free: 2.77 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/1.92, allocations: 2.061 MB / 1.548 GB, free: 0.5273 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.555e-05/1.92, allocations: 7.938 kB / 1.548 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/1.921, allocations: 7.953 kB / 1.548 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/1.921, allocations: 82.28 kB / 1.548 GB, free: 440 kB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/1.939, allocations: 10.44 MB / 1.558 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/1.942, allocations: 1.661 MB / 1.56 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/1.944, allocations: 0.8777 MB / 1.56 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.811e-05/1.944, allocations: 12.78 kB / 1.56 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.342e-05/1.944, allocations: 47.33 kB / 1.56 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=89): time 4.048e-06/1.944, allocations: 0 / 1.56 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of matching and sorting (n=131): time 0.01389/1.958, allocations: 5.717 MB / 1.566 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/1.958, allocations: 222.9 kB / 1.566 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/1.959, allocations: 0.7584 MB / 1.567 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002672/1.96, allocations: 29.7 kB / 1.567 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/1.96, allocations: 0.7144 MB / 1.568 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005103/1.961, allocations: 437.5 kB / 1.568 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.961, allocations: 0 / 1.568 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.961, allocations: 353.9 kB / 1.568 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.962, allocations: 0.928 MB / 1.569 GB, free: 9.469 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/1.964, allocations: 1.187 MB / 1.57 GB, free: 8.184 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/1.966, allocations: 1.08 MB / 1.572 GB, free: 7.102 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/1.966, allocations: 0 / 1.572 GB, free: 7.102 MB / 0.9792 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008455/1.974, allocations: 3.62 MB / 1.575 GB, free: 3.43 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/1.974, allocations: 13.7 kB / 1.575 GB, free: 3.418 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.974, allocations: 7.938 kB / 1.575 GB, free: 3.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006562/1.981, allocations: 1.568 MB / 1.577 GB, free: 1.801 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/1.983, allocations: 439.2 kB / 1.577 GB, free: 1.371 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0263/2.01, allocations: 23.89 MB / 1.6 GB, free: 7.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/2.013, allocations: 299.5 kB / 1.601 GB, free: 7.688 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002793/2.013, allocations: 55.97 kB / 1.601 GB, free: 7.633 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004054/2.013, allocations: 132.7 kB / 1.601 GB, free: 7.496 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008299/2.022, allocations: 3.413 MB / 1.604 GB, free: 4.035 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006901/2.022, allocations: 146.5 kB / 1.604 GB, free: 3.891 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008838/2.031, allocations: 3.683 MB / 1.608 GB, free: 156 kB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/2.031, allocations: 15.98 kB / 1.608 GB, free: 140 kB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.708e-05/2.031, allocations: 12 kB / 1.608 GB, free: 128 kB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/2.031, allocations: 3.984 kB / 1.608 GB, free: 124 kB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/2.044, allocations: 5.956 MB / 1.614 GB, free: 10.02 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/2.045, allocations: 4 kB / 1.614 GB, free: 10.01 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/2.046, allocations: 387.7 kB / 1.614 GB, free: 9.633 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006043/2.053, allocations: 1.482 MB / 1.616 GB, free: 8.109 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/2.053, allocations: 19.97 kB / 1.616 GB, free: 8.09 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02498/2.078, allocations: 22.91 MB / 1.638 GB, free: 15.68 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/2.078, allocations: 0 / 1.638 GB, free: 15.68 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008075/2.086, allocations: 3.616 MB / 1.642 GB, free: 11.92 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/2.087, allocations: 455 kB / 1.642 GB, free: 11.45 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/2.087, allocations: 11.94 kB / 1.642 GB, free: 11.44 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/2.09, allocations: 299.5 kB / 1.642 GB, free: 11.15 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004941/2.09, allocations: 133 kB / 1.642 GB, free: 11.02 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/2.09, allocations: 51.95 kB / 1.642 GB, free: 10.97 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0009907/2.091, allocations: 0.5723 MB / 1.643 GB, free: 10.39 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.31e-07/2.091, allocations: 0 / 1.643 GB, free: 10.39 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002572/2.094, allocations: 0.5391 MB / 1.644 GB, free: 9.852 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008575/2.102, allocations: 4.942 MB / 1.648 GB, free: 4.766 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.007476/2.11, allocations: 4.159 MB / 1.652 GB, free: 492 kB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/2.11, allocations: 4.469 kB / 1.652 GB, free: 488 kB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.005225/2.115, allocations: 2.979 MB / 1.655 GB, free: 13.37 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/2.118, allocations: 433.6 kB / 1.656 GB, free: 12.95 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006965/2.125, allocations: 3.129 MB / 1.659 GB, free: 9.738 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/2.126, allocations: 1.508 MB / 1.66 GB, free: 8.199 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001921/2.128, allocations: 412.1 kB / 1.661 GB, free: 7.793 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009442/2.129, allocations: 0.6203 MB / 1.661 GB, free: 7.172 MB / 1.073 GB Notification: Performance of SimCode: time 2.545e-06/2.129, allocations: 0 / 1.661 GB, free: 7.172 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/2.235, allocations: 46.87 MB / 1.707 GB, free: 8.684 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/2.235, allocations: 153 kB / 1.707 GB, free: 8.492 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.324/5.559, allocations: 2.531 kB / 1.707 GB, free: 8.492 MB / 1.12 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat