Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.574/2.574, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003329, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7536/0.7539, allocations: 142.3 MB / 0.9536 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.002758/0.7567, allocations: 2.233 MB / 0.9558 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.7587, allocations: 1.284 MB / 0.957 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.7588, allocations: 2.938 kB / 0.957 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.759, allocations: 21.28 kB / 0.9571 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.7593, allocations: 92.08 kB / 0.9571 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.7597, allocations: 141.8 kB / 0.9573 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.7599, allocations: 127.9 kB / 0.9574 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004349/0.7603, allocations: 215.9 kB / 0.9576 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.7604, allocations: 63.55 kB / 0.9577 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.7606, allocations: 71.06 kB / 0.9577 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.7607, allocations: 6.5 kB / 0.9577 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.7609, allocations: 103.3 kB / 0.9578 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.761, allocations: 54.56 kB / 0.9579 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.761, allocations: 55.27 kB / 0.9579 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.7613, allocations: 201.6 kB / 0.9581 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.7613, allocations: 1.375 kB / 0.9581 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7613, allocations: 3.938 kB / 0.9581 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7613, allocations: 0 / 0.9581 GB, free: 4.664 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005176/0.7618, allocations: 458.6 kB / 0.9586 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.7619, allocations: 8.25 kB / 0.9586 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.7619, allocations: 49.42 kB / 0.9586 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005251/0.7625, allocations: 68.86 kB / 0.9587 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.7627, allocations: 222.1 kB / 0.9589 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.7627, allocations: 5.781 kB / 0.9589 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.7627, allocations: 17.45 kB / 0.9589 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.7631, allocations: 275.6 kB / 0.9592 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.7631, allocations: 1.906 kB / 0.9592 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.7632, allocations: 13.27 kB / 0.9592 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.7632, allocations: 20.94 kB / 0.9592 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.7635, allocations: 205.3 kB / 0.9594 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.765, allocations: 1.576 MB / 0.961 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.7654, allocations: 325.3 kB / 0.9613 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.7654, allocations: 1.375 kB / 0.9613 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.7654, allocations: 32.09 kB / 0.9613 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.7654, allocations: 3.938 kB / 0.9613 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005175/0.7659, allocations: 250.4 kB / 0.9615 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.766, allocations: 82.2 kB / 0.9616 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.7661, allocations: 195.2 kB / 0.9618 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.7662, allocations: 30.83 kB / 0.9618 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.7662, allocations: 153.4 kB / 0.962 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.7662, allocations: 40.5 kB / 0.962 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.7663, allocations: 5.188 kB / 0.962 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.7663, allocations: 326.4 kB / 0.9623 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.7664, allocations: 70.61 kB / 0.9624 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.7666, allocations: 151.2 kB / 0.9626 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.7668, allocations: 93.16 kB / 0.9626 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7668, allocations: 4.703 kB / 0.9626 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003521/0.7671, allocations: 259.8 kB / 0.9629 GB, free: 384 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003926/0.7675, allocations: 1.138 MB / 0.964 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.7675, allocations: 3.281 kB / 0.964 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.7676, allocations: 4.969 kB / 0.964 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.7678, allocations: 49.03 kB / 0.9641 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.7678, allocations: 9.281 kB / 0.9641 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.768, allocations: 19.05 kB / 0.9641 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.768, allocations: 12.75 kB / 0.9641 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.768, allocations: 7.609 kB / 0.9641 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003066/0.7683, allocations: 198.8 kB / 0.9643 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.7684, allocations: 7.125 kB / 0.9643 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.7684, allocations: 4.438 kB / 0.9643 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.7685, allocations: 51.97 kB / 0.9644 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.7686, allocations: 4.031 kB / 0.9644 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.7687, allocations: 14.23 kB / 0.9644 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.7687, allocations: 8.75 kB / 0.9644 GB, free: 15 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001989/0.7689, allocations: 226.9 kB / 0.9646 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.769, allocations: 19.86 kB / 0.9646 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.7692, allocations: 146.2 kB / 0.9648 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7692, allocations: 1.031 kB / 0.9648 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7693, allocations: 1.156 kB / 0.9648 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.7693, allocations: 1.094 kB / 0.9648 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000955/0.7702, allocations: 0.7138 MB / 0.9655 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.7702, allocations: 2.75 kB / 0.9655 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.7704, allocations: 30.95 kB / 0.9655 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.7704, allocations: 7.5 kB / 0.9655 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.7704, allocations: 4 kB / 0.9655 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.7704, allocations: 3.094 kB / 0.9655 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.7704, allocations: 2.969 kB / 0.9655 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.7708, allocations: 0.4952 MB / 0.966 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.672e-05/0.7709, allocations: 108.2 kB / 0.9661 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.7709, allocations: 3.594 kB / 0.9661 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.7711, allocations: 10.02 kB / 0.9661 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.7712, allocations: 21.33 kB / 0.9661 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.7712, allocations: 9.828 kB / 0.9661 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000124/0.7713, allocations: 142.8 kB / 0.9663 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7713, allocations: 0 / 0.9663 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005269/0.7718, allocations: 71.56 kB / 0.9663 GB, free: 13.23 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009101/0.7728, allocations: 1.718 MB / 0.968 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.7732, allocations: 269.5 kB / 0.9683 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7732, allocations: 0 / 0.9683 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.7733, allocations: 61.28 kB / 0.9683 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.7736, allocations: 25.33 kB / 0.9684 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.7759, allocations: 2.959 MB / 0.9712 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.7762, allocations: 0.7402 MB / 0.972 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002136/0.7765, allocations: 82.23 kB / 0.9721 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.579e-05/0.7766, allocations: 48.8 kB / 0.9721 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.7766, allocations: 0 / 0.9721 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.7913, allocations: 3.292 MB / 0.9753 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.7916, allocations: 207.9 kB / 0.9755 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.552, allocations: 0 / 0.9755 GB, free: 6.09 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat