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.001104/0.001104, allocations: 105.2 kB / 16.27 MB, free: 6.41 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.00137/0.00137, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7362/0.7362, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 71.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3482, allocations: 77.91 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01787/0.3661, allocations: 16.69 MB / 0.5836 GB, free: 21.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009696/0.3759, allocations: 6.433 MB / 0.5899 GB, free: 16.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.3773, allocations: 52.5 kB / 0.5899 GB, free: 16.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002962/0.3802, allocations: 1.284 MB / 0.5912 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.3824, allocations: 0.8736 MB / 0.592 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00352/0.3859, allocations: 1.544 MB / 0.5935 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004139/0.39, allocations: 3.848 MB / 0.5973 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004296/0.3944, allocations: 5.011 MB / 0.6022 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.3964, allocations: 1.648 MB / 0.6038 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.3983, allocations: 1.987 MB / 0.6057 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004317/0.3987, allocations: 380 kB / 0.6061 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.4001, allocations: 0.8504 MB / 0.6069 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009953/0.4012, allocations: 1.493 MB / 0.6084 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.4026, allocations: 1.537 MB / 0.6099 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005251/0.4079, allocations: 5.528 MB / 0.6153 GB, free: 9.473 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4079, allocations: 0 / 0.6153 GB, free: 9.473 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4079, allocations: 0 / 0.6153 GB, free: 9.473 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001084/0.408, allocations: 3.938 kB / 0.6153 GB, free: 9.469 MB / 462.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.004994/0.413, allocations: 2.734 MB / 0.618 GB, free: 6.676 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.4131, allocations: 8.625 kB / 0.618 GB, free: 6.668 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004766/0.4136, allocations: 403.7 kB / 0.6184 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/0.4183, allocations: 0.9031 MB / 0.6192 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/0.4209, allocations: 1.415 MB / 0.6206 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.421, allocations: 189.5 kB / 0.6208 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004243/0.4214, allocations: 252.3 kB / 0.621 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00708/0.4285, allocations: 4.65 MB / 0.6256 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-05/0.4286, allocations: 11.88 kB / 0.6256 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.4289, allocations: 112 kB / 0.6257 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000185/0.4291, allocations: 176.3 kB / 0.6259 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006427/0.4355, allocations: 3.92 MB / 0.6297 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02245/0.458, allocations: 21.55 MB / 0.6507 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.4604, allocations: 2.253 MB / 0.6529 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000997/0.4614, allocations: 0.7322 MB / 0.6537 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.4615, allocations: 8 kB / 0.6537 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.4615, allocations: 58.42 kB / 0.6537 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 2.855e-06/0.4615, allocations: 0 / 0.6537 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68): time 0.00611/0.4676, allocations: 4.192 MB / 0.6578 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/0.4679, allocations: 240.5 kB / 0.658 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.4697, allocations: 1.163 MB / 0.6592 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.355e-05/0.4698, allocations: 41.7 kB / 0.6592 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007055/0.4705, allocations: 1.187 MB / 0.6604 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.4707, allocations: 252.6 kB / 0.6606 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004892/0.4712, allocations: 343 kB / 0.661 GB, free: 8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4714, allocations: 349.9 kB / 0.6613 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.4726, allocations: 0.7464 MB / 0.662 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.4743, allocations: 1.446 MB / 0.6634 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/0.4771, allocations: 2.197 MB / 0.6656 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/0.4771, allocations: 8 kB / 0.6656 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004413/0.4816, allocations: 2.269 MB / 0.6678 GB, free: 316 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.4816, allocations: 19.94 kB / 0.6678 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-05/0.4817, allocations: 24 kB / 0.6678 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.297e-05/0.4817, allocations: 32 kB / 0.6679 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.4835, allocations: 451.1 kB / 0.6683 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-05/0.4835, allocations: 48.11 kB / 0.6683 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.4857, allocations: 231.4 kB / 0.6686 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/0.4859, allocations: 87.92 kB / 0.6686 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002646/0.4886, allocations: 1.581 MB / 0.6702 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00163/0.4902, allocations: 1.372 MB / 0.6715 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002335/0.4926, allocations: 2.012 MB / 0.6735 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.947e-05/0.4926, allocations: 8 kB / 0.6735 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003503/0.4961, allocations: 2.069 MB / 0.6755 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.4961, allocations: 19.94 kB / 0.6755 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/0.4962, allocations: 27.94 kB / 0.6756 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.4962, allocations: 36 kB / 0.6756 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.4976, allocations: 407.9 kB / 0.676 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-05/0.4977, allocations: 55.78 kB / 0.676 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.4993, allocations: 191.4 kB / 0.6762 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.4995, allocations: 83.98 kB / 0.6763 GB, free: 6.879 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003693/0.4998, allocations: 287.6 kB / 0.6766 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/0.5002, allocations: 106.7 kB / 0.6767 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.5017, allocations: 1.094 MB / 0.6778 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.5018, allocations: 8 kB / 0.6778 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.5018, allocations: 4 kB / 0.6778 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.5018, allocations: 11.97 kB / 0.6778 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.5141, allocations: 10.2 MB / 0.6877 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-05/0.5141, allocations: 20 kB / 0.6878 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.5148, allocations: 192.4 kB / 0.6879 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.012e-05/0.5148, allocations: 20 kB / 0.688 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.5149, allocations: 36 kB / 0.688 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.94e-05/0.5149, allocations: 31.92 kB / 0.688 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.639e-05/0.5149, allocations: 23.88 kB / 0.6881 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.5171, allocations: 2.166 MB / 0.6902 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/0.5178, allocations: 327.6 kB / 0.6905 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.5181, allocations: 35.98 kB / 0.6905 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.5194, allocations: 103.9 kB / 0.6906 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.5196, allocations: 99.55 kB / 0.6907 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/0.5196, allocations: 47.94 kB / 0.6908 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001318/0.521, allocations: 0.8088 MB / 0.6915 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.521, allocations: 0 / 0.6915 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003426/0.5244, allocations: 0.7422 MB / 0.6923 GB, free: 6.004 MB / 0.5294 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.002689/0.5271, allocations: 2.738 MB / 0.6949 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004271/0.5314, allocations: 2.613 MB / 0.6975 GB, free: 452 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.047e-05/0.5314, allocations: 8.812 kB / 0.6975 GB, free: 444 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008471/0.5323, allocations: 0.5695 MB / 0.6981 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/0.5353, allocations: 257.1 kB / 0.6983 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02472/0.56, allocations: 15.7 MB / 0.7136 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/0.5622, allocations: 2.011 MB / 0.7156 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002207/0.5644, allocations: 0.8795 MB / 0.7165 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.5654, allocations: 0.7297 MB / 0.7172 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.5654, allocations: 8 kB / 0.7172 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2921/0.8575, allocations: 29.28 MB / 0.7458 GB, free: 153 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.526, allocations: 17.27 kB / 0.7458 GB, free: 153 MB / 0.5762 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)