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.001223/0.001222, allocations: 94.27 kB / 15.7 MB, free: 448 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.001777/0.001777, allocations: 175 kB / 16.58 MB, free: 6.418 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.265/1.265, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.615/0.615, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002702, allocations: 11.98 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1202, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.014/0.1343, allocations: 15.13 MB / 0.5717 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008156/0.1425, allocations: 5.925 MB / 0.5775 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008582/0.1434, allocations: 39.88 kB / 0.5775 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000597/0.144, allocations: 305.7 kB / 0.5778 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.1452, allocations: 0.6535 MB / 0.5784 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.147, allocations: 0.8261 MB / 0.5792 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00355/0.1506, allocations: 4.427 MB / 0.5836 GB, free: 292 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2343/0.3849, allocations: 5.244 MB / 0.5887 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.387, allocations: 1.149 MB / 0.5898 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002183/0.3892, allocations: 1.686 MB / 0.5915 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002945/0.3895, allocations: 161.6 kB / 0.5916 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009897/0.3905, allocations: 397 kB / 0.592 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.3919, allocations: 1.212 MB / 0.5932 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005276/0.3924, allocations: 0.5022 MB / 0.5937 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005186/0.3976, allocations: 4.637 MB / 0.5982 GB, free: 12.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3976, allocations: 0 / 0.5982 GB, free: 12.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3976, allocations: 2.406 kB / 0.5982 GB, free: 12.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001049/0.3977, allocations: 1 kB / 0.5982 GB, free: 12.96 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.003941/0.4017, allocations: 2.221 MB / 0.6004 GB, free: 11.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4017, allocations: 9.062 kB / 0.6004 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005323/0.4023, allocations: 399.8 kB / 0.6008 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/0.4055, allocations: 0.7975 MB / 0.6015 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.4075, allocations: 1.39 MB / 0.6029 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.4077, allocations: 189.6 kB / 0.6031 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004191/0.4081, allocations: 254.3 kB / 0.6033 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00676/0.4149, allocations: 4.561 MB / 0.6078 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.705e-05/0.4149, allocations: 13.5 kB / 0.6078 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/0.4152, allocations: 106.6 kB / 0.6079 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001876/0.4154, allocations: 176.4 kB / 0.6081 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005298/0.4207, allocations: 3.811 MB / 0.6118 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01768/0.4384, allocations: 21.43 MB / 0.6327 GB, free: 6.043 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.4407, allocations: 2.263 MB / 0.6349 GB, free: 4.098 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008866/0.4416, allocations: 0.712 MB / 0.6356 GB, free: 3.711 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.4416, allocations: 15.62 kB / 0.6356 GB, free: 3.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.4417, allocations: 47.5 kB / 0.6357 GB, free: 3.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=62): time 3.336e-06/0.4417, allocations: 0 / 0.6357 GB, free: 3.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=68): time 0.005397/0.4471, allocations: 4.189 MB / 0.6398 GB, free: 180 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.4472, allocations: 251.3 kB / 0.64 GB, free: 15.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.4486, allocations: 1.104 MB / 0.6411 GB, free: 14.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.4487, allocations: 37.7 kB / 0.6411 GB, free: 14.71 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007243/0.4494, allocations: 1.184 MB / 0.6423 GB, free: 13.51 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.4496, allocations: 254.6 kB / 0.6425 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.4497, allocations: 28 kB / 0.6425 GB, free: 13.24 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4499, allocations: 410.7 kB / 0.6429 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008891/0.4508, allocations: 0.6909 MB / 0.6436 GB, free: 12.14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.4522, allocations: 1.4 MB / 0.645 GB, free: 10.42 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.4533, allocations: 0.9817 MB / 0.6459 GB, free: 9.449 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.4534, allocations: 8 kB / 0.6459 GB, free: 9.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002905/0.4563, allocations: 2.172 MB / 0.6481 GB, free: 7.262 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004583/0.4567, allocations: 0.7889 MB / 0.6488 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.4568, allocations: 24 kB / 0.6488 GB, free: 6.117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-05/0.4568, allocations: 36 kB / 0.6489 GB, free: 6.082 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.4581, allocations: 431.2 kB / 0.6493 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.995e-05/0.4582, allocations: 55.83 kB / 0.6493 GB, free: 5.605 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.4592, allocations: 183.4 kB / 0.6495 GB, free: 5.426 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.4593, allocations: 87.97 kB / 0.6496 GB, free: 5.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/0.4593, allocations: 8 kB / 0.6496 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002333/0.4617, allocations: 1.84 MB / 0.6514 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/0.4617, allocations: 23.94 kB / 0.6514 GB, free: 3.469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.4617, allocations: 40 kB / 0.6515 GB, free: 3.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.4628, allocations: 390.7 kB / 0.6518 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.783e-05/0.4629, allocations: 51.8 kB / 0.6519 GB, free: 3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.4636, allocations: 135.9 kB / 0.652 GB, free: 2.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.4637, allocations: 83.94 kB / 0.6521 GB, free: 2.785 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001683/0.4654, allocations: 1.129 MB / 0.6532 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.4657, allocations: 106.7 kB / 0.6533 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.4672, allocations: 1.092 MB / 0.6544 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.4672, allocations: 12 kB / 0.6544 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4672, allocations: 4 kB / 0.6544 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.4673, allocations: 7.984 kB / 0.6544 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/0.4794, allocations: 10.17 MB / 0.6643 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.4794, allocations: 16 kB / 0.6643 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.48, allocations: 195.6 kB / 0.6645 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.812e-05/0.48, allocations: 24.38 kB / 0.6646 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.4801, allocations: 32 kB / 0.6646 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-05/0.4801, allocations: 27.92 kB / 0.6646 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.556e-05/0.4801, allocations: 27.88 kB / 0.6646 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.4821, allocations: 2.162 MB / 0.6668 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.4825, allocations: 335.5 kB / 0.6671 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.4827, allocations: 35.98 kB / 0.6671 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000803/0.4835, allocations: 91.88 kB / 0.6672 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.4836, allocations: 103.6 kB / 0.6673 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.4837, allocations: 36 kB / 0.6673 GB, free: 2.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009403/0.4846, allocations: 0.7581 MB / 0.6681 GB, free: 1.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4846, allocations: 4 kB / 0.6681 GB, free: 1.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002718/0.4873, allocations: 0.7265 MB / 0.6688 GB, free: 1.199 MB / 494.1 MB 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.002312/0.4897, allocations: 2.735 MB / 0.6715 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003232/0.4929, allocations: 2.46 MB / 0.6739 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4929, allocations: 0 / 0.6739 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006518/0.4936, allocations: 0.5704 MB / 0.6744 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.4954, allocations: 241.4 kB / 0.6746 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.5098, allocations: 10.56 MB / 0.685 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/0.5116, allocations: 2.007 MB / 0.6869 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001827/0.5134, allocations: 0.856 MB / 0.6878 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008788/0.5143, allocations: 0.7258 MB / 0.6885 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.5143, allocations: 3.5 kB / 0.6885 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/0.5545, allocations: 28.28 MB / 0.7161 GB, free: 172 kB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/0.5548, allocations: 216.2 kB / 0.7163 GB, free: 15.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.55, allocations: 2.344 kB / 0.7163 GB, free: 15.93 MB / 0.545 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/linux/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) Environment - environmentSimulation: