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.0009517/0.0009517, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006188/0.006188, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.284/1.284, allocations: 223.2 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 267.1 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8788/0.8788, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004124, allocations: 12.09 kB / 0.5988 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1472, allocations: 88.55 MB / 0.6852 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01543/0.1626, allocations: 15.35 MB / 0.7002 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006957/0.1696, allocations: 4.768 MB / 0.7049 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009281/0.1706, allocations: 59.62 kB / 0.705 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006437/0.1712, allocations: 250.1 kB / 0.7052 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.1728, allocations: 0.699 MB / 0.7059 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.1743, allocations: 0.6613 MB / 0.7065 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004347/0.1787, allocations: 5.26 MB / 0.7117 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007564/0.1862, allocations: 5.851 MB / 0.7174 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.188, allocations: 1.093 MB / 0.7184 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.1904, allocations: 1.51 MB / 0.7199 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005788/0.191, allocations: 144 kB / 0.72 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.1928, allocations: 0.7331 MB / 0.7208 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.1942, allocations: 1.072 MB / 0.7218 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.196, allocations: 1.187 MB / 0.723 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.2002, allocations: 4.887 MB / 0.7277 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2003, allocations: 4 kB / 0.7277 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2003, allocations: 0 / 0.7277 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000106/0.2004, allocations: 0 / 0.7277 GB, free: 3.223 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.003697/0.2041, allocations: 2.175 MB / 0.7299 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2041, allocations: 12.03 kB / 0.7299 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004339/0.2046, allocations: 378.5 kB / 0.7302 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/0.2083, allocations: 0.8368 MB / 0.7311 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.2103, allocations: 1.501 MB / 0.7325 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.2104, allocations: 177.1 kB / 0.7327 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.2108, allocations: 228.4 kB / 0.7329 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005962/0.2168, allocations: 4.177 MB / 0.737 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-05/0.2168, allocations: 7.844 kB / 0.737 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.2171, allocations: 99.98 kB / 0.7371 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/0.2173, allocations: 164.5 kB / 0.7373 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005106/0.2224, allocations: 3.644 MB / 0.7408 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/0.2378, allocations: 16.55 MB / 0.757 GB, free: 3.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.241, allocations: 2.292 MB / 0.7592 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007697/0.2418, allocations: 0.5839 MB / 0.7598 GB, free: 0.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.2419, allocations: 93.66 kB / 0.7599 GB, free: 400 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2419, allocations: 39.12 kB / 0.7599 GB, free: 352 kB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.665e-06/0.2419, allocations: 4 kB / 0.7599 GB, free: 348 kB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.005258/0.2472, allocations: 3.459 MB / 0.7633 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.2473, allocations: 111.5 kB / 0.7634 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.2484, allocations: 1.014 MB / 0.7644 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.2485, allocations: 37.64 kB / 0.7644 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006844/0.2492, allocations: 1.107 MB / 0.7655 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.2494, allocations: 272.2 kB / 0.7658 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.2496, allocations: 113.7 kB / 0.7659 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2497, allocations: 418.7 kB / 0.7663 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008585/0.2506, allocations: 0.6207 MB / 0.7669 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.2519, allocations: 1.189 MB / 0.768 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.2539, allocations: 1.872 MB / 0.7699 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.2539, allocations: 8 kB / 0.7699 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002822/0.2568, allocations: 2.027 MB / 0.7719 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.2568, allocations: 20.03 kB / 0.7719 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.2568, allocations: 16 kB / 0.7719 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00039/0.2572, allocations: 159.3 kB / 0.772 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.2583, allocations: 343.4 kB / 0.7724 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.211e-05/0.2583, allocations: 43.86 kB / 0.7724 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008783/0.2592, allocations: 143.6 kB / 0.7725 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/0.2593, allocations: 71.98 kB / 0.7726 GB, free: 2.578 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.001295/0.2606, allocations: 0.9784 MB / 0.7736 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.2608, allocations: 110.7 kB / 0.7737 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.2627, allocations: 1.237 MB / 0.7749 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.2627, allocations: 8 kB / 0.7749 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2628, allocations: 4 kB / 0.7749 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.2628, allocations: 3.984 kB / 0.7749 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.27/0.5327, allocations: 3.809 MB / 0.7786 GB, free: 86.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.5328, allocations: 3 kB / 0.7786 GB, free: 86.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.5334, allocations: 161.5 kB / 0.7788 GB, free: 86.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003574/0.5338, allocations: 147.2 kB / 0.7789 GB, free: 86.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.5338, allocations: 18.41 kB / 0.7789 GB, free: 86.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.5338, allocations: 6.094 kB / 0.7789 GB, free: 86.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.5339, allocations: 10.78 kB / 0.7789 GB, free: 86.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.5357, allocations: 1.486 MB / 0.7804 GB, free: 86.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.5362, allocations: 286.2 kB / 0.7807 GB, free: 85.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.5363, allocations: 15.55 kB / 0.7807 GB, free: 85.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/0.5369, allocations: 78.55 kB / 0.7808 GB, free: 85.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.537, allocations: 57.95 kB / 0.7808 GB, free: 85.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.5371, allocations: 20.69 kB / 0.7808 GB, free: 85.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008009/0.5379, allocations: 0.7014 MB / 0.7815 GB, free: 85.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5379, allocations: 0 / 0.7815 GB, free: 85.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001402/0.5393, allocations: 391.9 kB / 0.7819 GB, free: 85.64 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.001899/0.5412, allocations: 2.042 MB / 0.7839 GB, free: 84.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.543, allocations: 1.729 MB / 0.7856 GB, free: 83.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.543, allocations: 0 / 0.7856 GB, free: 83.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007132/0.5437, allocations: 0.8637 MB / 0.7864 GB, free: 82.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.5452, allocations: 247.1 kB / 0.7867 GB, free: 82.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/0.5621, allocations: 14.35 MB / 0.8007 GB, free: 74.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.5638, allocations: 1.927 MB / 0.8026 GB, free: 73.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001141/0.565, allocations: 445.2 kB / 0.803 GB, free: 73.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/0.5656, allocations: 0.7135 MB / 0.8037 GB, free: 72.8 MB / 0.5606 GB Notification: Performance of SimCode: time 6.82e-07/0.5656, allocations: 0 / 0.8037 GB, free: 72.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4606/1.026, allocations: 26.47 MB / 0.8295 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/1.026, allocations: 261.9 kB / 0.8298 GB, free: 55.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/3.171, allocations: 3.516 kB / 0.8298 GB, free: 55.16 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)