Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_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.000753/0.0007559, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008225/0.0008226, allocations: 184.2 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6619/0.6619, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 12.89 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1434, allocations: 77.53 MB / 0.5601 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01722/0.1606, allocations: 16.02 MB / 0.5757 GB, free: 8.867 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009101/0.1698, allocations: 6.224 MB / 0.5818 GB, free: 2.625 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.171, allocations: 43.88 kB / 0.5818 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008778/0.1719, allocations: 317.7 kB / 0.5821 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.1739, allocations: 0.794 MB / 0.5829 GB, free: 1.473 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.1764, allocations: 1.06 MB / 0.5839 GB, free: 424 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2581/0.4345, allocations: 5.783 MB / 0.5896 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008436/0.443, allocations: 6.148 MB / 0.5956 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.4452, allocations: 1.124 MB / 0.5967 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.4476, allocations: 1.726 MB / 0.5984 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002921/0.4479, allocations: 160.8 kB / 0.5985 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.4491, allocations: 0.7421 MB / 0.5992 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.4504, allocations: 1.221 MB / 0.6004 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.4516, allocations: 1.243 MB / 0.6016 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004676/0.4563, allocations: 5.279 MB / 0.6068 GB, free: 11.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4563, allocations: 3.188 kB / 0.6068 GB, free: 11.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4563, allocations: 0 / 0.6068 GB, free: 11.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.406e-05/0.4564, allocations: 0 / 0.6068 GB, free: 11.44 MB / 446.1 MB 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.004227/0.4607, allocations: 2.206 MB / 0.609 GB, free: 10 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4607, allocations: 12.52 kB / 0.609 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005566/0.4613, allocations: 404.9 kB / 0.6094 GB, free: 9.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003522/0.4648, allocations: 0.7913 MB / 0.6101 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.4669, allocations: 1.405 MB / 0.6115 GB, free: 8.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.467, allocations: 191 kB / 0.6117 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004158/0.4674, allocations: 251 kB / 0.6119 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006715/0.4742, allocations: 4.585 MB / 0.6164 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.464e-05/0.4743, allocations: 14.92 kB / 0.6164 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002875/0.4745, allocations: 104.8 kB / 0.6165 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/0.4748, allocations: 174.3 kB / 0.6167 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005026/0.4798, allocations: 3.839 MB / 0.6204 GB, free: 3.469 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02159/0.5014, allocations: 21.45 MB / 0.6414 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.5041, allocations: 2.242 MB / 0.6436 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009903/0.5051, allocations: 0.7167 MB / 0.6443 GB, free: 9.777 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.5052, allocations: 11.75 kB / 0.6443 GB, free: 9.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.5052, allocations: 50.5 kB / 0.6443 GB, free: 9.711 MB / 478.1 MB Notification: Performance of pre-optimization done (n=62): time 2.435e-06/0.5052, allocations: 4 kB / 0.6443 GB, free: 9.707 MB / 478.1 MB Notification: Performance of matching and sorting (n=68): time 0.005932/0.5112, allocations: 4.193 MB / 0.6484 GB, free: 5.469 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.5113, allocations: 243.7 kB / 0.6487 GB, free: 5.176 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.5128, allocations: 1.112 MB / 0.6497 GB, free: 4.039 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.5129, allocations: 37.7 kB / 0.6498 GB, free: 3.996 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007235/0.5136, allocations: 1.186 MB / 0.6509 GB, free: 2.801 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.5138, allocations: 255.6 kB / 0.6512 GB, free: 2.555 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.514, allocations: 121.7 kB / 0.6513 GB, free: 2.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5142, allocations: 345.1 kB / 0.6516 GB, free: 2.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009438/0.5151, allocations: 0.7104 MB / 0.6523 GB, free: 1.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.5168, allocations: 1.401 MB / 0.6537 GB, free: 15.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.5194, allocations: 2.161 MB / 0.6558 GB, free: 13.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.5194, allocations: 4 kB / 0.6558 GB, free: 13.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003462/0.5229, allocations: 2.18 MB / 0.6579 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006947/0.5236, allocations: 0.7935 MB / 0.6587 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.5236, allocations: 28 kB / 0.6587 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.096e-05/0.5237, allocations: 36 kB / 0.6588 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.5251, allocations: 427.2 kB / 0.6592 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-05/0.5252, allocations: 51.8 kB / 0.6592 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.5264, allocations: 195.3 kB / 0.6594 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.5266, allocations: 79.98 kB / 0.6595 GB, free: 9.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-06/0.5266, allocations: 4 kB / 0.6595 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002662/0.5292, allocations: 1.855 MB / 0.6613 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.5293, allocations: 27.94 kB / 0.6613 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/0.5293, allocations: 32 kB / 0.6614 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.5305, allocations: 391.3 kB / 0.6617 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.475e-05/0.5305, allocations: 51.78 kB / 0.6618 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009039/0.5314, allocations: 131.5 kB / 0.6619 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.5315, allocations: 84.3 kB / 0.662 GB, free: 6.484 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001968/0.5335, allocations: 1.136 MB / 0.6631 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.5338, allocations: 106.7 kB / 0.6632 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.5354, allocations: 1.083 MB / 0.6643 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.5355, allocations: 15.94 kB / 0.6643 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.5355, allocations: 3.938 kB / 0.6643 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.5355, allocations: 11.98 kB / 0.6643 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.548, allocations: 10.17 MB / 0.6742 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.548, allocations: 16 kB / 0.6742 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.5486, allocations: 187.7 kB / 0.6744 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.688e-05/0.5487, allocations: 23.94 kB / 0.6744 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.5487, allocations: 36 kB / 0.6745 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.273e-05/0.5488, allocations: 31.86 kB / 0.6745 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/0.5488, allocations: 27.88 kB / 0.6745 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.5508, allocations: 2.162 MB / 0.6766 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.5513, allocations: 335.6 kB / 0.677 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.5514, allocations: 35.98 kB / 0.677 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009114/0.5524, allocations: 91.86 kB / 0.6771 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.5525, allocations: 107.5 kB / 0.6772 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.5526, allocations: 36 kB / 0.6772 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009682/0.5535, allocations: 0.7659 MB / 0.678 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5535, allocations: 0 / 0.678 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002751/0.5563, allocations: 0.7305 MB / 0.6787 GB, free: 4.879 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002174/0.5585, allocations: 2.739 MB / 0.6814 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003361/0.5618, allocations: 2.475 MB / 0.6838 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.5619, allocations: 4 kB / 0.6838 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008123/0.5627, allocations: 0.5723 MB / 0.6843 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/0.5666, allocations: 247.1 kB / 0.6846 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02282/0.5895, allocations: 16.49 MB / 0.7007 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/0.5914, allocations: 2.007 MB / 0.7026 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002017/0.5935, allocations: 0.848 MB / 0.7035 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009175/0.5944, allocations: 0.7258 MB / 0.7042 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.5944, allocations: 0 / 0.7042 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/0.6426, allocations: 27.52 MB / 0.731 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.6429, allocations: 231 kB / 0.7313 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.779, allocations: 0 / 0.7313 GB, free: 13.83 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)