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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001212/0.001212, allocations: 168.7 kB / 15.95 MB, free: 204 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.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.406 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.429/2.429, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7825/0.7829, allocations: 142.3 MB / 0.9539 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.0184/0.8013, allocations: 15.15 MB / 0.9687 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01338/0.8148, allocations: 5.927 MB / 0.9744 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.8177, allocations: 44.56 kB / 0.9745 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.8188, allocations: 306.8 kB / 0.9748 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.8214, allocations: 0.649 MB / 0.9754 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.8249, allocations: 0.8186 MB / 0.9762 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006907/0.8318, allocations: 4.439 MB / 0.9806 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009708/0.8416, allocations: 5.255 MB / 0.9857 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.8444, allocations: 1.156 MB / 0.9868 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003873/0.8483, allocations: 1.675 MB / 0.9884 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005472/0.8489, allocations: 160 kB / 0.9886 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.8507, allocations: 391.6 kB / 0.989 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001816/0.8526, allocations: 1.22 MB / 0.9902 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009071/0.8535, allocations: 0.5043 MB / 0.9907 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005378/0.8589, allocations: 4.631 MB / 0.9952 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.8589, allocations: 4 kB / 0.9952 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.138e-06/0.8589, allocations: 0 / 0.9952 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001942/0.8591, allocations: 4 kB / 0.9952 GB, free: 5.707 MB / 0.7481 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.006104/0.8653, allocations: 2.219 MB / 0.9974 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.8653, allocations: 8.031 kB / 0.9974 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008874/0.8662, allocations: 399.5 kB / 0.9977 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00367/0.8699, allocations: 0.793 MB / 0.9985 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/0.8727, allocations: 1.395 MB / 0.9999 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.8728, allocations: 197.1 kB / 1 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004149/0.8733, allocations: 251.9 kB / 1 GB, free: 352 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009564/0.8828, allocations: 4.557 MB / 1.005 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.276e-05/0.883, allocations: 7.938 kB / 1.005 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/0.8833, allocations: 116 kB / 1.005 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000255/0.8835, allocations: 172.3 kB / 1.005 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007548/0.8911, allocations: 3.814 MB / 1.009 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02735/0.9185, allocations: 21.44 MB / 1.03 GB, free: 136 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/0.9212, allocations: 2.247 MB / 1.032 GB, free: 13.59 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.9223, allocations: 0.7221 MB / 1.033 GB, free: 12.85 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.9223, allocations: 12 kB / 1.033 GB, free: 12.84 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.9224, allocations: 46.5 kB / 1.033 GB, free: 12.78 MB / 0.795 GB Notification: Performance of pre-optimization done (n=62): time 2.765e-06/0.9224, allocations: 0 / 1.033 GB, free: 12.78 MB / 0.795 GB Notification: Performance of matching and sorting (n=68): time 0.006034/0.9284, allocations: 4.191 MB / 1.037 GB, free: 8.543 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.9287, allocations: 243.3 kB / 1.037 GB, free: 8.25 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.9302, allocations: 1.104 MB / 1.038 GB, free: 7.121 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.9303, allocations: 37.7 kB / 1.038 GB, free: 7.078 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008057/0.9311, allocations: 1.196 MB / 1.039 GB, free: 5.863 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/0.9314, allocations: 248.6 kB / 1.04 GB, free: 5.617 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.9314, allocations: 36 kB / 1.04 GB, free: 5.582 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002239/0.9317, allocations: 406.7 kB / 1.04 GB, free: 5.176 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.9327, allocations: 0.6909 MB / 1.041 GB, free: 4.484 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.9343, allocations: 1.399 MB / 1.042 GB, free: 2.746 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.9356, allocations: 0.9827 MB / 1.043 GB, free: 1.766 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.9356, allocations: 8 kB / 1.043 GB, free: 1.758 MB / 0.795 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00334/0.939, allocations: 2.168 MB / 1.045 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.00076/0.9397, allocations: 0.7942 MB / 1.046 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.131e-05/0.9398, allocations: 27.94 kB / 1.046 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.338e-05/0.9399, allocations: 39.98 kB / 1.046 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.9413, allocations: 427.2 kB / 1.046 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.617e-05/0.9413, allocations: 47.84 kB / 1.046 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.9426, allocations: 191.4 kB / 1.047 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.9427, allocations: 83.97 kB / 1.047 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.9428, allocations: 7.938 kB / 1.047 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002644/0.9454, allocations: 1.835 MB / 1.048 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/0.9455, allocations: 24 kB / 1.048 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.464e-05/0.9455, allocations: 36.91 kB / 1.048 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.9466, allocations: 391.3 kB / 1.049 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.182e-05/0.9467, allocations: 51.8 kB / 1.049 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009528/0.9476, allocations: 131.5 kB / 1.049 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.9478, allocations: 83.98 kB / 1.049 GB, free: 11.11 MB / 0.8106 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 () * Number of clocked 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.002313/0.9501, allocations: 1.125 MB / 1.05 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004538/0.9505, allocations: 110.8 kB / 1.05 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.9525, allocations: 1.095 MB / 1.051 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.9526, allocations: 12 kB / 1.051 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.9526, allocations: 0 / 1.051 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.9526, allocations: 7.984 kB / 1.051 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/0.9692, allocations: 10.17 MB / 1.061 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.827e-05/0.9694, allocations: 16 kB / 1.061 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/0.9703, allocations: 192.4 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-05/0.9703, allocations: 20 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.968e-05/0.9704, allocations: 32 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.888e-05/0.9705, allocations: 39.86 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.688e-05/0.9705, allocations: 19.94 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.9732, allocations: 2.154 MB / 1.064 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008056/0.974, allocations: 335.5 kB / 1.064 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003418/0.9744, allocations: 39.98 kB / 1.064 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.9756, allocations: 95.81 kB / 1.064 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.9757, allocations: 99.59 kB / 1.064 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.9758, allocations: 36 kB / 1.064 GB, free: 11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001393/0.9772, allocations: 0.7581 MB / 1.065 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9772, allocations: 3.938 kB / 1.065 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00423/0.9814, allocations: 0.7227 MB / 1.066 GB, free: 9.508 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.003155/0.9846, allocations: 2.747 MB / 1.068 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004465/0.9891, allocations: 2.461 MB / 1.071 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/0.9891, allocations: 4 kB / 1.071 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008738/0.99, allocations: 0.5699 MB / 1.071 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.9925, allocations: 243.4 kB / 1.072 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.014, allocations: 10.56 MB / 1.082 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003065/1.017, allocations: 2.011 MB / 1.084 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002394/1.019, allocations: 0.8558 MB / 1.085 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/1.021, allocations: 0.7297 MB / 1.085 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of SimCode: time 1.653e-06/1.021, allocations: 0 / 1.085 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05814/1.079, allocations: 28.3 MB / 1.113 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/1.079, allocations: 216.4 kB / 1.113 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/3.492, allocations: 0 / 1.113 GB, free: 8.109 MB / 0.8731 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