Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",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.221/2.221, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001028/0.001028, allocations: 184.8 kB / 487.4 MB, free: 5.059 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.614/1.614, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 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.0009504/0.0009503, allocations: 107.8 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.084e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2856, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.368, allocations: 185.6 MB / 1.387 GB, free: 15.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/1.368, allocations: 94.41 kB / 1.387 GB, free: 15.88 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2427/1.611, allocations: 102.1 MB / 1.487 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.35e-06/1.611, allocations: 7.922 kB / 1.487 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001487/1.611, allocations: 63.94 kB / 1.487 GB, free: 14.89 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.005847/1.617, allocations: 2.169 MB / 1.489 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/1.617, allocations: 12.56 kB / 1.489 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/1.622, allocations: 0.7501 MB / 1.49 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/1.625, allocations: 1.457 MB / 1.491 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.576e-05/1.625, allocations: 84 kB / 1.492 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004649/1.625, allocations: 148 kB / 1.492 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005774/1.631, allocations: 2.958 MB / 1.495 GB, free: 7.215 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006925/1.638, allocations: 3.778 MB / 1.498 GB, free: 3.242 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.357e-05/1.638, allocations: 15.92 kB / 1.498 GB, free: 3.227 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/1.639, allocations: 8 kB / 1.498 GB, free: 3.219 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/1.639, allocations: 160.2 kB / 1.498 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02578/1.665, allocations: 20.69 MB / 1.519 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/1.665, allocations: 0.5084 MB / 1.519 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/1.666, allocations: 486.5 kB / 1.52 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/1.666, allocations: 16.67 kB / 1.52 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/1.666, allocations: 50.45 kB / 1.52 GB, free: 11.33 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=50): time 3.206e-06/1.666, allocations: 0 / 1.52 GB, free: 11.33 MB / 0.9323 GB Notification: Performance of matching and sorting (n=56): time 0.005382/1.671, allocations: 3.572 MB / 1.523 GB, free: 7.703 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/1.672, allocations: 243.3 kB / 1.523 GB, free: 7.41 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/1.673, allocations: 1.107 MB / 1.525 GB, free: 6.281 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/1.673, allocations: 25.7 kB / 1.525 GB, free: 6.25 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008689/1.674, allocations: 1.23 MB / 1.526 GB, free: 5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/1.674, allocations: 209.2 kB / 1.526 GB, free: 4.793 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.05e-05/1.674, allocations: 0 / 1.526 GB, free: 4.793 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002155/1.675, allocations: 406.7 kB / 1.526 GB, free: 4.387 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009679/1.676, allocations: 0.7378 MB / 1.527 GB, free: 3.648 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/1.677, allocations: 1.42 MB / 1.528 GB, free: 1.891 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/1.679, allocations: 1.104 MB / 1.53 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/1.679, allocations: 4 kB / 1.53 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003494/1.682, allocations: 2.219 MB / 1.532 GB, free: 14.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00392/1.686, allocations: 9.391 MB / 1.541 GB, free: 4.426 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-05/1.686, allocations: 24 kB / 1.541 GB, free: 4.402 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.504e-05/1.686, allocations: 36 kB / 1.541 GB, free: 4.367 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/1.688, allocations: 447.2 kB / 1.541 GB, free: 3.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.65e-05/1.688, allocations: 47.8 kB / 1.541 GB, free: 3.883 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/1.69, allocations: 259.1 kB / 1.542 GB, free: 3.629 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/1.69, allocations: 87.97 kB / 1.542 GB, free: 3.543 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.69, allocations: 4 kB / 1.542 GB, free: 3.539 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002982/1.693, allocations: 1.86 MB / 1.544 GB, free: 1.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/1.693, allocations: 24 kB / 1.544 GB, free: 1.656 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.353e-05/1.693, allocations: 40.09 kB / 1.544 GB, free: 1.617 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.694, allocations: 403.3 kB / 1.544 GB, free: 1.223 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.573e-05/1.695, allocations: 59.77 kB / 1.544 GB, free: 1.164 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.696, allocations: 143.5 kB / 1.544 GB, free: 1.023 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/1.696, allocations: 83.98 kB / 1.544 GB, free: 0.9414 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003135/1.696, allocations: 164.3 kB / 1.544 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00145/1.698, allocations: 0.9428 MB / 1.545 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/1.698, allocations: 102.8 kB / 1.545 GB, free: 15.72 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/1.699, allocations: 0.8376 MB / 1.546 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.699, allocations: 11.94 kB / 1.546 GB, free: 14.87 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.699, allocations: 0 / 1.546 GB, free: 14.87 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.699, allocations: 7.984 kB / 1.546 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00978/1.709, allocations: 7.369 MB / 1.553 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/1.709, allocations: 15.94 kB / 1.553 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/1.71, allocations: 135.8 kB / 1.554 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-05/1.71, allocations: 16 kB / 1.554 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/1.71, allocations: 16 kB / 1.554 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.037e-05/1.71, allocations: 24.52 kB / 1.554 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.551e-05/1.71, allocations: 20.3 kB / 1.554 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/1.712, allocations: 2.384 MB / 1.556 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005862/1.713, allocations: 347.5 kB / 1.556 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.713, allocations: 16 kB / 1.556 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.714, allocations: 103.8 kB / 1.556 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.634e-05/1.714, allocations: 75.73 kB / 1.557 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/1.714, allocations: 32 kB / 1.557 GB, free: 3.66 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001116/1.715, allocations: 0.8368 MB / 1.557 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.41e-07/1.715, allocations: 0 / 1.557 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003407/1.718, allocations: 0.746 MB / 1.558 GB, free: 2.066 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00376/1.722, allocations: 6.464 MB / 1.564 GB, free: 11.25 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003541/1.726, allocations: 2.383 MB / 1.567 GB, free: 8.875 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.726, allocations: 0 / 1.567 GB, free: 8.875 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005411/1.726, allocations: 430.8 kB / 1.567 GB, free: 8.457 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.728, allocations: 204.4 kB / 1.567 GB, free: 8.258 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008524/1.736, allocations: 4.034 MB / 1.571 GB, free: 4.016 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/1.739, allocations: 2.031 MB / 1.573 GB, free: 1.949 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002257/1.741, allocations: 0.8598 MB / 1.574 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000938/1.742, allocations: 0.7101 MB / 1.575 GB, free: 388 kB / 0.9792 GB Notification: Performance of SimCode: time 9.92e-07/1.742, allocations: 0 / 1.575 GB, free: 388 kB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06171/1.804, allocations: 27.78 MB / 1.602 GB, free: 4.703 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/1.804, allocations: 185.6 kB / 1.602 GB, free: 4.504 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/4.627, allocations: 0 / 1.602 GB, free: 4.504 MB / 1.01 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat