Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_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.001394/0.001394, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001559/0.001559, allocations: 196.5 kB / 16.14 MB, free: 6.664 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001955/0.001955, allocations: 280.3 kB / 290.2 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.905/0.905, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.001581, allocations: 93.47 kB / 0.5946 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1325, allocations: 86.98 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005294/0.1378, allocations: 4.892 MB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.1411, allocations: 2.505 MB / 0.6868 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.1413, allocations: 27.81 kB / 0.6868 GB, free: 9.629 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009018/0.1422, allocations: 370.4 kB / 0.6872 GB, free: 9.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006511/0.1429, allocations: 406 kB / 0.6876 GB, free: 8.867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006236/0.1435, allocations: 370.2 kB / 0.6879 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008163/0.1443, allocations: 1.132 MB / 0.689 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004801/0.1448, allocations: 355.2 kB / 0.6893 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.1451, allocations: 314.5 kB / 0.6896 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.1455, allocations: 342.5 kB / 0.69 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.097e-05/0.1455, allocations: 28 kB / 0.69 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006089/0.1461, allocations: 0.4912 MB / 0.6905 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.1463, allocations: 171.4 kB / 0.6906 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.1465, allocations: 310.2 kB / 0.6909 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007275/0.1473, allocations: 0.8915 MB / 0.6918 GB, free: 4.488 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1473, allocations: 0 / 0.6918 GB, free: 4.488 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1473, allocations: 0 / 0.6918 GB, free: 4.488 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1473, allocations: 4 kB / 0.6918 GB, free: 4.484 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001127/0.1484, allocations: 0.9463 MB / 0.6927 GB, free: 3.488 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1485, allocations: 8.031 kB / 0.6927 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.786e-05/0.1486, allocations: 102.6 kB / 0.6928 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.1497, allocations: 203.9 kB / 0.693 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.1503, allocations: 0.4943 MB / 0.6935 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.1503, allocations: 29.38 kB / 0.6936 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.316e-05/0.1504, allocations: 48.34 kB / 0.6936 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000902/0.1513, allocations: 0.8446 MB / 0.6944 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1513, allocations: 7.938 kB / 0.6944 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.1514, allocations: 23.98 kB / 0.6945 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-05/0.1515, allocations: 64.95 kB / 0.6945 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007206/0.1522, allocations: 0.5734 MB / 0.6951 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/0.1557, allocations: 5.658 MB / 0.7006 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.1562, allocations: 458.2 kB / 0.701 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.1565, allocations: 228.7 kB / 0.7013 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1566, allocations: 0 / 0.7013 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1566, allocations: 38.5 kB / 0.7013 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.132e-06/0.1566, allocations: 0 / 0.7013 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002163/0.1588, allocations: 1.509 MB / 0.7028 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.1588, allocations: 55.69 kB / 0.7028 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.1592, allocations: 0.4991 MB / 0.7033 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1593, allocations: 29.7 kB / 0.7033 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1595, allocations: 358.8 kB / 0.7037 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/0.1595, allocations: 118.3 kB / 0.7038 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.1597, allocations: 114.2 kB / 0.7039 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1598, allocations: 370.8 kB / 0.7043 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.16, allocations: 193.2 kB / 0.7044 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.1604, allocations: 451.3 kB / 0.7049 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/0.1611, allocations: 0.6882 MB / 0.7055 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1611, allocations: 4 kB / 0.7055 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0011/0.1622, allocations: 0.8049 MB / 0.7063 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1623, allocations: 12 kB / 0.7063 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1623, allocations: 8.906 kB / 0.7063 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004379/0.1627, allocations: 160 kB / 0.7065 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.1631, allocations: 119.8 kB / 0.7066 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.1657, allocations: 4.036 MB / 0.7106 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.166, allocations: 31.97 kB / 0.7106 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.1661, allocations: 32 kB / 0.7106 GB, free: 15.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002053/0.1663, allocations: 215 kB / 0.7108 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/0.1664, allocations: 63.25 kB / 0.7109 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009001/0.1673, allocations: 0.605 MB / 0.7115 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1673, allocations: 0 / 0.7115 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1673, allocations: 7.938 kB / 0.7115 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1673, allocations: 0 / 0.7115 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.1689, allocations: 1.263 MB / 0.7127 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1689, allocations: 8.219 kB / 0.7127 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.1691, allocations: 55.89 kB / 0.7128 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003694/0.1695, allocations: 140.1 kB / 0.7129 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.1695, allocations: 12 kB / 0.7129 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.172, allocations: 4.024 MB / 0.7168 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.172, allocations: 0 / 0.7168 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000868/0.1729, allocations: 0.7038 MB / 0.7175 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.1731, allocations: 176.2 kB / 0.7177 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.1732, allocations: 8 kB / 0.7177 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.1734, allocations: 23.97 kB / 0.7177 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.1735, allocations: 27.91 kB / 0.7178 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1735, allocations: 12 kB / 0.7178 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002961/0.1738, allocations: 338.8 kB / 0.7181 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.1e-07/0.1738, allocations: 3.938 kB / 0.7181 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005414/0.1743, allocations: 148 kB / 0.7182 GB, free: 7.34 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.1755, allocations: 1.263 MB / 0.7195 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.1767, allocations: 1.029 MB / 0.7205 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1767, allocations: 0 / 0.7205 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007111/0.1774, allocations: 0.7456 MB / 0.7212 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008541/0.1783, allocations: 184.6 kB / 0.7214 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.1839, allocations: 5.46 MB / 0.7267 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.1843, allocations: 0.9059 MB / 0.7276 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003195/0.1846, allocations: 117.3 kB / 0.7277 GB, free: 13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.1848, allocations: 195.4 kB / 0.7279 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.1849, allocations: 0 / 0.7279 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.91/1.095, allocations: 12.33 MB / 0.7399 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.095, allocations: 253.7 kB / 0.7402 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.959, allocations: 0 / 0.7402 GB, free: 0.5273 MB / 0.5294 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)