Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",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.004521/0.004521, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001254/0.001255, allocations: 199 kB / 16.79 MB, free: 6.242 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.219/1.219, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6277/0.6277, allocations: 115.3 MB / 406 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 61.88 kB / 493 MB, free: 6.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1241, allocations: 76.19 MB / 0.5559 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01695/0.1411, allocations: 16.3 MB / 0.5718 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007141/0.1483, allocations: 5.74 MB / 0.5774 GB, free: 4.551 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003866/0.1487, allocations: 35.94 kB / 0.5774 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.1516, allocations: 1.439 MB / 0.5788 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.1528, allocations: 0.7826 MB / 0.5796 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.1545, allocations: 0.9585 MB / 0.5805 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2066/0.3611, allocations: 6.034 MB / 0.5864 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008186/0.3693, allocations: 6.325 MB / 0.5926 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002805/0.3721, allocations: 1.464 MB / 0.594 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/0.3753, allocations: 2.145 MB / 0.5961 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004771/0.3758, allocations: 294.1 kB / 0.5964 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.3776, allocations: 1.098 MB / 0.5975 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.3791, allocations: 1.535 MB / 0.599 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.3805, allocations: 1.466 MB / 0.6004 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.3851, allocations: 5.986 MB / 0.6062 GB, free: 10.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3851, allocations: 0 / 0.6062 GB, free: 10.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.3852, allocations: 0 / 0.6062 GB, free: 10.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.543e-05/0.3853, allocations: 4 kB / 0.6063 GB, free: 10.64 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.004734/0.39, allocations: 2.773 MB / 0.609 GB, free: 8.793 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.39, allocations: 9.625 kB / 0.609 GB, free: 8.793 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004726/0.3905, allocations: 426.9 kB / 0.6094 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/0.3935, allocations: 0.6568 MB / 0.61 GB, free: 8.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.3955, allocations: 1.429 MB / 0.6114 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.3956, allocations: 208.8 kB / 0.6116 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/0.396, allocations: 266.4 kB / 0.6119 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006117/0.4021, allocations: 4.722 MB / 0.6165 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.4022, allocations: 3.656 kB / 0.6165 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/0.4025, allocations: 117 kB / 0.6166 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.4026, allocations: 147.5 kB / 0.6167 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/0.4074, allocations: 4.087 MB / 0.6207 GB, free: 2.121 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/0.4264, allocations: 20.28 MB / 0.6405 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.4292, allocations: 1.897 MB / 0.6424 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009493/0.4302, allocations: 0.7587 MB / 0.6431 GB, free: 9.344 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.4303, allocations: 103.9 kB / 0.6432 GB, free: 9.227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.4303, allocations: 54.48 kB / 0.6433 GB, free: 9.168 MB / 478.1 MB Notification: Performance of pre-optimization done (n=77): time 3.707e-06/0.4303, allocations: 0 / 0.6433 GB, free: 9.168 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.01598/0.4463, allocations: 5.181 MB / 0.6483 GB, free: 3.992 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.4464, allocations: 144.7 kB / 0.6485 GB, free: 3.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.4475, allocations: 0.9685 MB / 0.6494 GB, free: 2.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/0.4476, allocations: 41.7 kB / 0.6495 GB, free: 2.793 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005719/0.4481, allocations: 1.185 MB / 0.6506 GB, free: 1.598 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.4484, allocations: 333.8 kB / 0.6509 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/0.4489, allocations: 359.1 kB / 0.6513 GB, free: 0.918 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.449, allocations: 329.9 kB / 0.6516 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.4501, allocations: 0.8714 MB / 0.6524 GB, free: 15.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.4516, allocations: 1.521 MB / 0.6539 GB, free: 13.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00258/0.4542, allocations: 2.454 MB / 0.6563 GB, free: 11.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.4542, allocations: 8 kB / 0.6563 GB, free: 11.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003273/0.4575, allocations: 2.514 MB / 0.6588 GB, free: 8.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4575, allocations: 16 kB / 0.6588 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.4576, allocations: 20 kB / 0.6588 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.651e-05/0.4576, allocations: 32 kB / 0.6589 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.4598, allocations: 0.5116 MB / 0.6594 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.873e-05/0.4598, allocations: 47.84 kB / 0.6594 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/0.4608, allocations: 155.5 kB / 0.6595 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.461, allocations: 87.97 kB / 0.6596 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002738/0.4637, allocations: 1.901 MB / 0.6615 GB, free: 5.965 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001416/0.4651, allocations: 1.499 MB / 0.6629 GB, free: 4.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002505/0.4676, allocations: 2.424 MB / 0.6653 GB, free: 1.465 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.057e-06/0.4677, allocations: 4 kB / 0.6653 GB, free: 1.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003211/0.4709, allocations: 2.495 MB / 0.6678 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4709, allocations: 16.97 kB / 0.6678 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.4709, allocations: 20 kB / 0.6678 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.471, allocations: 36 kB / 0.6678 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/0.4731, allocations: 0.5108 MB / 0.6683 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-05/0.4731, allocations: 39.86 kB / 0.6684 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000981/0.4741, allocations: 143.8 kB / 0.6685 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.4742, allocations: 83.98 kB / 0.6686 GB, free: 14.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.0003242/0.4746, allocations: 299.6 kB / 0.6689 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.4748, allocations: 90.88 kB / 0.669 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.4773, allocations: 1.837 MB / 0.6707 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.4773, allocations: 11.98 kB / 0.6708 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4773, allocations: 4 kB / 0.6708 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.4773, allocations: 3.984 kB / 0.6708 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009272/0.4866, allocations: 9.054 MB / 0.6796 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.4866, allocations: 16.25 kB / 0.6796 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009845/0.4876, allocations: 251.6 kB / 0.6799 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-05/0.4877, allocations: 16 kB / 0.6799 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.4877, allocations: 28 kB / 0.6799 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.531e-05/0.4877, allocations: 23.92 kB / 0.6799 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/0.4878, allocations: 23.81 kB / 0.68 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.4895, allocations: 1.762 MB / 0.6817 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.4899, allocations: 287.9 kB / 0.6819 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.49, allocations: 35.98 kB / 0.682 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006516/0.4907, allocations: 71.91 kB / 0.682 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.4908, allocations: 99.48 kB / 0.6821 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.4909, allocations: 39.98 kB / 0.6822 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008047/0.4917, allocations: 0.731 MB / 0.6829 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4917, allocations: 0 / 0.6829 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002467/0.4942, allocations: 0.8047 MB / 0.6837 GB, free: 13.45 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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.002035/0.4962, allocations: 2.38 MB / 0.686 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003799/0.5, allocations: 2.972 MB / 0.6889 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5001, allocations: 4 kB / 0.6889 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000682/0.5007, allocations: 0.5763 MB / 0.6895 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.502, allocations: 167.4 kB / 0.6896 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/0.5203, allocations: 16.22 MB / 0.7055 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/0.5221, allocations: 2.108 MB / 0.7075 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002336/0.5245, allocations: 1.023 MB / 0.7085 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009602/0.5254, allocations: 0.757 MB / 0.7093 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.5254, allocations: 0 / 0.7093 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.26/3.786, allocations: 28.59 MB / 0.7372 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/3.786, allocations: 224.4 kB / 0.7374 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.947/6.733, allocations: 0 / 0.7374 GB, free: 5.5 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)