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.0007746/0.0007747, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004993/0.004993, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.313/1.313, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001651/0.001651, allocations: 274.4 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8911/0.8911, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004941, allocations: 18.58 kB / 0.5988 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1535, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004669/0.1582, allocations: 4.501 MB / 0.6896 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.1617, allocations: 2.466 MB / 0.692 GB, free: 7.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.1619, allocations: 20.5 kB / 0.6921 GB, free: 7.973 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.1622, allocations: 91.16 kB / 0.6922 GB, free: 7.883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008102/0.163, allocations: 411.8 kB / 0.6925 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.1637, allocations: 364.2 kB / 0.6929 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009825/0.1647, allocations: 1.142 MB / 0.694 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006682/0.1653, allocations: 468.3 kB / 0.6945 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.1657, allocations: 290.6 kB / 0.6947 GB, free: 5.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.1661, allocations: 338.5 kB / 0.6951 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.1661, allocations: 20 kB / 0.6951 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006468/0.1668, allocations: 498.9 kB / 0.6956 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.1669, allocations: 163.4 kB / 0.6957 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.1672, allocations: 323.9 kB / 0.696 GB, free: 3.902 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007842/0.168, allocations: 0.8757 MB / 0.6969 GB, free: 3.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.168, allocations: 4 kB / 0.6969 GB, free: 3.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.168, allocations: 0 / 0.6969 GB, free: 3.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.168, allocations: 4 kB / 0.6969 GB, free: 3.016 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.0011/0.1691, allocations: 0.8335 MB / 0.6977 GB, free: 2.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1692, allocations: 8.031 kB / 0.6977 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.29e-05/0.1693, allocations: 94.69 kB / 0.6978 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.1705, allocations: 203.8 kB / 0.698 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.1711, allocations: 0.506 MB / 0.6985 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.1711, allocations: 33.38 kB / 0.6985 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.1712, allocations: 44.36 kB / 0.6986 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000987/0.1722, allocations: 0.8446 MB / 0.6994 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.1722, allocations: 7.938 kB / 0.6994 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.1723, allocations: 23.98 kB / 0.6994 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-05/0.1724, allocations: 64.89 kB / 0.6995 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007848/0.1732, allocations: 0.5695 MB / 0.7 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/0.1771, allocations: 5.658 MB / 0.7056 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/0.1777, allocations: 454.2 kB / 0.706 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.178, allocations: 228.7 kB / 0.7062 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.178, allocations: 4 kB / 0.7062 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.178, allocations: 34.56 kB / 0.7062 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.178, allocations: 0 / 0.7062 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002444/0.1805, allocations: 1.509 MB / 0.7077 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1805, allocations: 59.69 kB / 0.7078 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.181, allocations: 0.4951 MB / 0.7083 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.1811, allocations: 29.7 kB / 0.7083 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.1813, allocations: 366.8 kB / 0.7086 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.1814, allocations: 114.4 kB / 0.7087 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.1815, allocations: 49.7 kB / 0.7088 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.1816, allocations: 366.8 kB / 0.7091 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.1819, allocations: 193.2 kB / 0.7093 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.1823, allocations: 451.3 kB / 0.7098 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007637/0.1831, allocations: 0.6959 MB / 0.7104 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1831, allocations: 0 / 0.7104 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001206/0.1843, allocations: 0.8092 MB / 0.7112 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1844, allocations: 8 kB / 0.7112 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1844, allocations: 8 kB / 0.7112 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004593/0.1848, allocations: 160.5 kB / 0.7114 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.1853, allocations: 123.8 kB / 0.7115 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.1883, allocations: 4.04 MB / 0.7155 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.1887, allocations: 39.97 kB / 0.7155 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.1887, allocations: 28 kB / 0.7155 GB, free: 14.45 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.0002558/0.189, allocations: 208.5 kB / 0.7157 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.1891, allocations: 55.34 kB / 0.7158 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.1901, allocations: 0.6128 MB / 0.7164 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1901, allocations: 4 kB / 0.7164 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1901, allocations: 3.938 kB / 0.7164 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1901, allocations: 3.984 kB / 0.7164 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.1918, allocations: 1.27 MB / 0.7176 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1918, allocations: 0 / 0.7176 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.1921, allocations: 63.83 kB / 0.7177 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004026/0.1925, allocations: 144.4 kB / 0.7178 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.1925, allocations: 8 kB / 0.7178 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002878/0.1954, allocations: 4.017 MB / 0.7218 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1954, allocations: 7.969 kB / 0.7218 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009516/0.1964, allocations: 0.7038 MB / 0.7224 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.1966, allocations: 172.2 kB / 0.7226 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.1966, allocations: 8 kB / 0.7226 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.1969, allocations: 31.97 kB / 0.7226 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.197, allocations: 27.95 kB / 0.7227 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.197, allocations: 12 kB / 0.7227 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003404/0.1973, allocations: 338.8 kB / 0.723 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1973, allocations: 0 / 0.723 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006041/0.198, allocations: 144 kB / 0.7231 GB, free: 6.035 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.001222/0.1992, allocations: 1.261 MB / 0.7244 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.2005, allocations: 1.036 MB / 0.7254 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.2005, allocations: 4 kB / 0.7254 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007867/0.2013, allocations: 0.734 MB / 0.7261 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.2024, allocations: 184.8 kB / 0.7263 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006297/0.2087, allocations: 5.486 MB / 0.7316 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.2092, allocations: 0.9059 MB / 0.7325 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003476/0.2096, allocations: 117.3 kB / 0.7326 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.2098, allocations: 195.4 kB / 0.7328 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.2098, allocations: 0 / 0.7328 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5497/0.7595, allocations: 12.17 MB / 0.7447 GB, free: 15.63 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003103/0.7598, allocations: 254.5 kB / 0.745 GB, free: 15.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.637, allocations: 5.406 kB / 0.745 GB, free: 15.38 MB / 0.545 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)