Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.0007776/0.0007776, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008217/0.0008217, allocations: 176.3 kB / 16.58 MB, free: 6.852 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.22/1.22, allocations: 223.2 MB / 240.6 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6061/0.6061, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002844, allocations: 8 kB / 493.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01407/0.1456, allocations: 14.51 MB / 0.5711 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006186/0.1519, allocations: 4.569 MB / 0.5755 GB, free: 8.547 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005398/0.1524, allocations: 55.69 kB / 0.5756 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.1529, allocations: 246.1 kB / 0.5758 GB, free: 8.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009913/0.1539, allocations: 0.5831 MB / 0.5764 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.155, allocations: 0.491 MB / 0.5769 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003246/0.1582, allocations: 4.113 MB / 0.5809 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2697/0.4279, allocations: 4.936 MB / 0.5857 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.43, allocations: 1.113 MB / 0.5868 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.4325, allocations: 1.472 MB / 0.5882 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002921/0.4328, allocations: 142.9 kB / 0.5884 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.4338, allocations: 391.6 kB / 0.5887 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.4351, allocations: 1.062 MB / 0.5898 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000556/0.4357, allocations: 498.4 kB / 0.5903 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.4409, allocations: 4.268 MB / 0.5944 GB, free: 14.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4409, allocations: 0 / 0.5944 GB, free: 14.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4409, allocations: 1.969 kB / 0.5944 GB, free: 14.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001117/0.4411, allocations: 0 / 0.5944 GB, free: 14.54 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004511/0.4456, allocations: 2.198 MB / 0.5966 GB, free: 13.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4456, allocations: 9.75 kB / 0.5966 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005563/0.4462, allocations: 372.8 kB / 0.5969 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003657/0.4499, allocations: 0.8314 MB / 0.5977 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.4522, allocations: 1.477 MB / 0.5992 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.4523, allocations: 183.2 kB / 0.5994 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/0.4527, allocations: 236.8 kB / 0.5996 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006336/0.459, allocations: 4.148 MB / 0.6036 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/0.4591, allocations: 4.375 kB / 0.6036 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.4594, allocations: 102.6 kB / 0.6037 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000209/0.4596, allocations: 168.6 kB / 0.6039 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005752/0.4654, allocations: 3.631 MB / 0.6074 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.4794, allocations: 16.53 MB / 0.6236 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.4822, allocations: 2.296 MB / 0.6258 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007541/0.483, allocations: 0.5751 MB / 0.6264 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.4831, allocations: 101 kB / 0.6265 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4832, allocations: 38.62 kB / 0.6265 GB, free: 11.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=72): time 2.975e-06/0.4832, allocations: 3.281 kB / 0.6265 GB, free: 11.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.004726/0.4879, allocations: 3.442 MB / 0.6299 GB, free: 9.715 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.488, allocations: 116 kB / 0.63 GB, free: 9.586 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.4891, allocations: 1.016 MB / 0.631 GB, free: 9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.4891, allocations: 40.2 kB / 0.631 GB, free: 8.961 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000592/0.4897, allocations: 1.104 MB / 0.6321 GB, free: 7.988 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.4899, allocations: 273.2 kB / 0.6324 GB, free: 7.762 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.49, allocations: 26.31 kB / 0.6324 GB, free: 7.742 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.4902, allocations: 411 kB / 0.6328 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007861/0.4909, allocations: 0.6188 MB / 0.6334 GB, free: 7.047 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.4921, allocations: 1.187 MB / 0.6346 GB, free: 5.973 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.4931, allocations: 0.8578 MB / 0.6354 GB, free: 5.535 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.4931, allocations: 8 kB / 0.6354 GB, free: 5.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002666/0.4958, allocations: 2.018 MB / 0.6374 GB, free: 3.551 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.4958, allocations: 14.03 kB / 0.6374 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.4958, allocations: 20 kB / 0.6374 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.4962, allocations: 168 kB / 0.6376 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009866/0.4972, allocations: 343.4 kB / 0.6379 GB, free: 3.008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.112e-05/0.4972, allocations: 39.86 kB / 0.6379 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007842/0.498, allocations: 139.6 kB / 0.6381 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-05/0.4981, allocations: 75.94 kB / 0.6381 GB, free: 2.758 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001494/0.4996, allocations: 0.9733 MB / 0.6391 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.4998, allocations: 110.8 kB / 0.6392 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.5016, allocations: 1.241 MB / 0.6404 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/0.5017, allocations: 8 kB / 0.6404 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5017, allocations: 6.734 kB / 0.6404 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5017, allocations: 3.984 kB / 0.6404 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004856/0.5066, allocations: 3.822 MB / 0.6442 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5066, allocations: 0 / 0.6442 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.5071, allocations: 159.8 kB / 0.6443 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002923/0.5074, allocations: 139.3 kB / 0.6444 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.5075, allocations: 19.95 kB / 0.6445 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.5075, allocations: 8.062 kB / 0.6445 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5075, allocations: 7.938 kB / 0.6445 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.5092, allocations: 1.465 MB / 0.6459 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.5096, allocations: 295.6 kB / 0.6462 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.5097, allocations: 20 kB / 0.6462 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.5102, allocations: 75.89 kB / 0.6463 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.5103, allocations: 64.44 kB / 0.6463 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.5104, allocations: 20 kB / 0.6464 GB, free: 10.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007914/0.5112, allocations: 0.6875 MB / 0.647 GB, free: 9.395 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5112, allocations: 0 / 0.647 GB, free: 9.395 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001307/0.5125, allocations: 392 kB / 0.6474 GB, free: 9.012 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002046/0.5146, allocations: 2.041 MB / 0.6494 GB, free: 6.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.5165, allocations: 1.712 MB / 0.6511 GB, free: 5.117 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5166, allocations: 0 / 0.6511 GB, free: 5.117 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008408/0.5174, allocations: 0.8568 MB / 0.6519 GB, free: 4.172 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.5186, allocations: 250.2 kB / 0.6521 GB, free: 3.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.5313, allocations: 9.743 MB / 0.6617 GB, free: 9.672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/0.533, allocations: 1.916 MB / 0.6635 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009919/0.534, allocations: 449.6 kB / 0.664 GB, free: 7.277 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007969/0.5348, allocations: 0.7141 MB / 0.6647 GB, free: 6.562 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5348, allocations: 0 / 0.6647 GB, free: 6.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.576, allocations: 26.97 MB / 0.691 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/0.5761, allocations: 225.1 kB / 0.6912 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.592, allocations: 3.875 kB / 0.6912 GB, free: 11.78 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) Environment - environmentSimulation: