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.005302/0.005302, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001243/0.001244, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 292.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9429/0.9429, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001819, allocations: 95.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3949, allocations: 86.98 MB / 0.7659 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02141/0.4163, allocations: 16 MB / 0.7815 GB, free: 3.812 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.4287, allocations: 4.82 MB / 0.7862 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.4304, allocations: 63.69 kB / 0.7863 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004102/0.4346, allocations: 1.046 MB / 0.7873 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.4379, allocations: 0.7854 MB / 0.7881 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.4416, allocations: 0.9185 MB / 0.789 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005884/0.4475, allocations: 3.626 MB / 0.7925 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009155/0.4567, allocations: 4.765 MB / 0.7972 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.46, allocations: 1.593 MB / 0.7987 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003383/0.4635, allocations: 1.78 MB / 0.8005 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008171/0.4643, allocations: 340 kB / 0.8008 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.4661, allocations: 0.7997 MB / 0.8016 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.4678, allocations: 1.326 MB / 0.8029 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002317/0.4701, allocations: 1.455 MB / 0.8043 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.4753, allocations: 5.13 MB / 0.8093 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4753, allocations: 0 / 0.8093 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4753, allocations: 0 / 0.8093 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001169/0.4754, allocations: 0 / 0.8093 GB, free: 7.234 MB / 0.5762 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.005232/0.4807, allocations: 2.662 MB / 0.8119 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4807, allocations: 8.031 kB / 0.8119 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000517/0.4812, allocations: 378.5 kB / 0.8123 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003962/0.4852, allocations: 0.829 MB / 0.8131 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.4882, allocations: 1.568 MB / 0.8146 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.4883, allocations: 181.1 kB / 0.8148 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005066/0.4888, allocations: 228.4 kB / 0.815 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006963/0.4958, allocations: 4.169 MB / 0.8191 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.003e-05/0.4959, allocations: 3.938 kB / 0.8191 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/0.4962, allocations: 99.98 kB / 0.8192 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.4964, allocations: 172.5 kB / 0.8193 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005554/0.5019, allocations: 3.632 MB / 0.8229 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0167/0.5187, allocations: 16.42 MB / 0.8389 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/0.5217, allocations: 2.288 MB / 0.8411 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007917/0.5226, allocations: 0.5935 MB / 0.8417 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.5227, allocations: 101.6 kB / 0.8418 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.5227, allocations: 39.12 kB / 0.8419 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/0.5227, allocations: 0 / 0.8419 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.004908/0.5277, allocations: 3.424 MB / 0.8452 GB, free: 428 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.5277, allocations: 111.5 kB / 0.8453 GB, free: 292 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.5289, allocations: 1.026 MB / 0.8463 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.529, allocations: 33.7 kB / 0.8463 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005893/0.5296, allocations: 1.103 MB / 0.8474 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.5297, allocations: 272.2 kB / 0.8477 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/0.5301, allocations: 287.2 kB / 0.848 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.5303, allocations: 414.7 kB / 0.8483 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008518/0.5312, allocations: 0.6167 MB / 0.8489 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.5324, allocations: 1.189 MB / 0.8501 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.5344, allocations: 1.856 MB / 0.8519 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.5345, allocations: 4 kB / 0.8519 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002926/0.5374, allocations: 2.022 MB / 0.8539 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.5374, allocations: 12 kB / 0.8539 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.5375, allocations: 20 kB / 0.8539 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004116/0.5379, allocations: 163.3 kB / 0.8541 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.539, allocations: 343.7 kB / 0.8544 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-05/0.5391, allocations: 43.86 kB / 0.8545 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008894/0.5399, allocations: 127.6 kB / 0.8546 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/0.5401, allocations: 67.98 kB / 0.8546 GB, free: 6.09 MB / 0.6231 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.001268/0.5413, allocations: 0.9795 MB / 0.8556 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.5416, allocations: 114.7 kB / 0.8557 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.5436, allocations: 1.23 MB / 0.8569 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.5437, allocations: 8 kB / 0.8569 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5437, allocations: 0 / 0.8569 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.5437, allocations: 7.984 kB / 0.8569 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005284/0.549, allocations: 3.798 MB / 0.8606 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.549, allocations: 4 kB / 0.8606 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.5496, allocations: 159.8 kB / 0.8608 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003547/0.55, allocations: 139.3 kB / 0.8609 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.5501, allocations: 16 kB / 0.8609 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.5501, allocations: 12.03 kB / 0.861 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5501, allocations: 8 kB / 0.861 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.552, allocations: 1.465 MB / 0.8624 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.5525, allocations: 263.8 kB / 0.8626 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.5526, allocations: 24 kB / 0.8627 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005769/0.5532, allocations: 67.91 kB / 0.8627 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.5533, allocations: 52.42 kB / 0.8628 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.5534, allocations: 31.92 kB / 0.8628 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008709/0.5542, allocations: 0.6953 MB / 0.8635 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.5543, allocations: 0 / 0.8635 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001312/0.5556, allocations: 384 kB / 0.8639 GB, free: 12.38 MB / 0.6387 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.002208/0.5578, allocations: 2.044 MB / 0.8659 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00227/0.5601, allocations: 1.727 MB / 0.8675 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5601, allocations: 0 / 0.8675 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009215/0.561, allocations: 0.8619 MB / 0.8684 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.5624, allocations: 268.8 kB / 0.8686 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/0.5801, allocations: 12.84 MB / 0.8812 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/0.582, allocations: 1.927 MB / 0.8831 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001082/0.5831, allocations: 445.6 kB / 0.8835 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008948/0.584, allocations: 0.718 MB / 0.8842 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.584, allocations: 0 / 0.8842 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05356/0.6376, allocations: 27.89 MB / 0.9114 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.57, allocations: 4.5 kB / 0.9114 GB, free: 11.02 MB / 0.6856 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)