Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_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.001029/0.001029, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001028/0.001028, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.276/1.276, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0018/0.0018, allocations: 290.7 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8628/0.8628, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 98.28 kB / 0.5948 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1312, allocations: 86.98 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01534/0.1466, allocations: 15.89 MB / 0.6953 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0064/0.153, allocations: 4.777 MB / 0.6999 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008942/0.1539, allocations: 59.69 kB / 0.7 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.1562, allocations: 0.961 MB / 0.7009 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.1576, allocations: 0.6846 MB / 0.7016 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.1593, allocations: 0.841 MB / 0.7024 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003005/0.1624, allocations: 3.618 MB / 0.7059 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006471/0.1688, allocations: 5.853 MB / 0.7117 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.1706, allocations: 1.605 MB / 0.7132 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.1726, allocations: 1.862 MB / 0.715 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005547/0.1732, allocations: 340 kB / 0.7154 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1743, allocations: 0.8035 MB / 0.7162 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009393/0.1753, allocations: 1.318 MB / 0.7174 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.1764, allocations: 1.459 MB / 0.7189 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.1797, allocations: 5.13 MB / 0.7239 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.1797, allocations: 0 / 0.7239 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1797, allocations: 0 / 0.7239 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.887e-05/0.1798, allocations: 0 / 0.7239 GB, free: 3.598 MB / 0.5137 GB 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.003542/0.1833, allocations: 2.658 MB / 0.7265 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1834, allocations: 8.031 kB / 0.7265 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004097/0.1838, allocations: 370.5 kB / 0.7268 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003457/0.1872, allocations: 0.829 MB / 0.7276 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.1892, allocations: 1.509 MB / 0.7291 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.995e-05/0.1893, allocations: 177.1 kB / 0.7293 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/0.1896, allocations: 232.3 kB / 0.7295 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005164/0.1948, allocations: 4.157 MB / 0.7336 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.1948, allocations: 0 / 0.7336 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/0.1951, allocations: 104 kB / 0.7337 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/0.1952, allocations: 172.5 kB / 0.7338 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004513/0.1997, allocations: 3.636 MB / 0.7374 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01356/0.2133, allocations: 16.54 MB / 0.7535 GB, free: 3.523 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/0.2161, allocations: 2.291 MB / 0.7558 GB, free: 1.027 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006943/0.2168, allocations: 0.582 MB / 0.7563 GB, free: 448 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.2169, allocations: 97.66 kB / 0.7564 GB, free: 332 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.217, allocations: 43.11 kB / 0.7565 GB, free: 280 kB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.194e-06/0.217, allocations: 0 / 0.7565 GB, free: 280 kB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.004317/0.2213, allocations: 3.436 MB / 0.7598 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.2214, allocations: 111.5 kB / 0.7599 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009654/0.2223, allocations: 1.018 MB / 0.7609 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.2224, allocations: 37.7 kB / 0.761 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/0.2229, allocations: 1.107 MB / 0.762 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.2231, allocations: 272.3 kB / 0.7623 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.2234, allocations: 279.2 kB / 0.7626 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2236, allocations: 414.7 kB / 0.763 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000773/0.2243, allocations: 0.6167 MB / 0.7636 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.2254, allocations: 1.189 MB / 0.7647 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.2272, allocations: 1.868 MB / 0.7666 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.2272, allocations: 4 kB / 0.7666 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002508/0.2297, allocations: 2.011 MB / 0.7685 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.2297, allocations: 19.98 kB / 0.7685 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.2298, allocations: 16 kB / 0.7686 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/0.2301, allocations: 167.6 kB / 0.7687 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009531/0.2311, allocations: 343.4 kB / 0.769 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.981e-05/0.2311, allocations: 39.86 kB / 0.7691 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007738/0.2319, allocations: 139.6 kB / 0.7692 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/0.232, allocations: 71.98 kB / 0.7693 GB, free: 2.398 MB / 0.5606 GB 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009441/0.2329, allocations: 0.9722 MB / 0.7702 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.2331, allocations: 106.7 kB / 0.7703 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.2348, allocations: 1.234 MB / 0.7715 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.2348, allocations: 15.94 kB / 0.7716 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.2348, allocations: 4 kB / 0.7716 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.2349, allocations: 3.984 kB / 0.7716 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2326/0.4675, allocations: 3.798 MB / 0.7753 GB, free: 88.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4675, allocations: 4.312 kB / 0.7753 GB, free: 88.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/0.4681, allocations: 160.5 kB / 0.7754 GB, free: 88.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003005/0.4684, allocations: 142.1 kB / 0.7756 GB, free: 88.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.4685, allocations: 16.75 kB / 0.7756 GB, free: 88.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.4685, allocations: 5.281 kB / 0.7756 GB, free: 88.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4685, allocations: 11.06 kB / 0.7756 GB, free: 88.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.47, allocations: 1.465 MB / 0.777 GB, free: 87.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.4703, allocations: 272.3 kB / 0.7773 GB, free: 87.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.4704, allocations: 17.64 kB / 0.7773 GB, free: 87.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.471, allocations: 70.86 kB / 0.7774 GB, free: 87.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.4711, allocations: 61.38 kB / 0.7774 GB, free: 87.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.4711, allocations: 28.5 kB / 0.7775 GB, free: 87.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007112/0.4718, allocations: 0.6958 MB / 0.7781 GB, free: 87.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4718, allocations: 0 / 0.7781 GB, free: 87.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001226/0.4731, allocations: 383.9 kB / 0.7785 GB, free: 87.26 MB / 0.5606 GB 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001998/0.4751, allocations: 2.039 MB / 0.7805 GB, free: 85.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.4772, allocations: 2.015 MB / 0.7825 GB, free: 85.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4773, allocations: 0.7656 kB / 0.7825 GB, free: 85.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006656/0.4779, allocations: 0.8642 MB / 0.7833 GB, free: 84.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.4791, allocations: 266.7 kB / 0.7836 GB, free: 84.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.4943, allocations: 14.3 MB / 0.7975 GB, free: 76.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.4958, allocations: 1.911 MB / 0.7994 GB, free: 75.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001005/0.4968, allocations: 450.6 kB / 0.7998 GB, free: 75.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006169/0.4974, allocations: 0.7152 MB / 0.8005 GB, free: 74.46 MB / 0.5606 GB Notification: Performance of SimCode: time 6.42e-07/0.4974, allocations: 1.469 kB / 0.8005 GB, free: 74.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.052/3.549, allocations: 27.26 MB / 0.8271 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/3.549, allocations: 263.9 kB / 0.8274 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.483/7.032, allocations: 1.969 kB / 0.8274 GB, free: 55.81 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)