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.001109/0.001109, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 195.5 kB / 16.53 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 279 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9366/0.9366, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 101.9 kB / 0.5954 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1432, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006753/0.15, allocations: 4.875 MB / 0.6851 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004309/0.1544, allocations: 2.489 MB / 0.6875 GB, free: 9.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006305/0.155, allocations: 23.81 kB / 0.6875 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.1564, allocations: 413.8 kB / 0.6879 GB, free: 8.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.1576, allocations: 445.6 kB / 0.6883 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008672/0.1585, allocations: 402.9 kB / 0.6887 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008874/0.1594, allocations: 0.9173 MB / 0.6896 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.1599, allocations: 358.4 kB / 0.69 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.1603, allocations: 334.7 kB / 0.6903 GB, free: 6.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.1607, allocations: 346.5 kB / 0.6906 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.1608, allocations: 43.94 kB / 0.6906 GB, free: 5.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007302/0.1615, allocations: 403.1 kB / 0.691 GB, free: 5.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.1617, allocations: 183.4 kB / 0.6912 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.162, allocations: 318.2 kB / 0.6915 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008839/0.1628, allocations: 0.8799 MB / 0.6924 GB, free: 4.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1629, allocations: 0 / 0.6924 GB, free: 4.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1629, allocations: 4 kB / 0.6924 GB, free: 4.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.1629, allocations: 0 / 0.6924 GB, free: 4.188 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.001352/0.1642, allocations: 0.9384 MB / 0.6933 GB, free: 3.199 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1643, allocations: 20.02 kB / 0.6933 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.1644, allocations: 98.62 kB / 0.6934 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.1656, allocations: 195.9 kB / 0.6936 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/0.1663, allocations: 0.4943 MB / 0.6941 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.1663, allocations: 37.36 kB / 0.6941 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.05e-05/0.1664, allocations: 40.38 kB / 0.6941 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.1675, allocations: 0.8446 MB / 0.695 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.1676, allocations: 11.92 kB / 0.695 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.1676, allocations: 23.98 kB / 0.695 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.794e-05/0.1677, allocations: 68.95 kB / 0.6951 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008365/0.1686, allocations: 0.5733 MB / 0.6956 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004264/0.1728, allocations: 5.643 MB / 0.7011 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.1735, allocations: 455.9 kB / 0.7016 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.1738, allocations: 232.7 kB / 0.7018 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1738, allocations: 4 kB / 0.7018 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1738, allocations: 34.56 kB / 0.7018 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.1738, allocations: 0 / 0.7018 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002479/0.1763, allocations: 1.514 MB / 0.7033 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.1764, allocations: 55.69 kB / 0.7034 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.1768, allocations: 0.5029 MB / 0.7039 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1769, allocations: 29.7 kB / 0.7039 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.1771, allocations: 358.8 kB / 0.7042 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.1772, allocations: 118.3 kB / 0.7043 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.1773, allocations: 114.2 kB / 0.7044 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1775, allocations: 370.8 kB / 0.7048 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.1778, allocations: 193.2 kB / 0.705 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.1782, allocations: 447.3 kB / 0.7054 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007451/0.1789, allocations: 0.6882 MB / 0.7061 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.179, allocations: 0 / 0.7061 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00119/0.1802, allocations: 0.8049 MB / 0.7069 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1802, allocations: 8.969 kB / 0.7069 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1802, allocations: 8 kB / 0.7069 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004707/0.1807, allocations: 164.1 kB / 0.707 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.1811, allocations: 123.7 kB / 0.7072 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.1844, allocations: 4.344 MB / 0.7114 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.1847, allocations: 31.97 kB / 0.7114 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.1848, allocations: 32 kB / 0.7115 GB, free: 15.14 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.000263/0.1851, allocations: 219.6 kB / 0.7117 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/0.1852, allocations: 67.23 kB / 0.7117 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009414/0.1861, allocations: 0.597 MB / 0.7123 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1861, allocations: 4 kB / 0.7123 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1861, allocations: 3.938 kB / 0.7123 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1861, allocations: 3.984 kB / 0.7123 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.1879, allocations: 1.265 MB / 0.7136 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1879, allocations: 0 / 0.7136 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.1881, allocations: 60.11 kB / 0.7136 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003796/0.1885, allocations: 148.1 kB / 0.7138 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.1886, allocations: 15.94 kB / 0.7138 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002986/0.1916, allocations: 4.325 MB / 0.718 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.1916, allocations: 3.938 kB / 0.718 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009168/0.1925, allocations: 0.7081 MB / 0.7187 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.1927, allocations: 168.3 kB / 0.7189 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.1928, allocations: 8 kB / 0.7189 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.193, allocations: 27.97 kB / 0.7189 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.1931, allocations: 31.84 kB / 0.7189 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1931, allocations: 12 kB / 0.7189 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003262/0.1935, allocations: 338.8 kB / 0.7193 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1935, allocations: 0 / 0.7193 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005775/0.1941, allocations: 144 kB / 0.7194 GB, free: 6.387 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.001191/0.1953, allocations: 1.261 MB / 0.7206 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.1966, allocations: 1.076 MB / 0.7217 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1966, allocations: 4.125 kB / 0.7217 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000809/0.1975, allocations: 0.7379 MB / 0.7224 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/0.1984, allocations: 207.8 kB / 0.7226 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005853/0.2043, allocations: 5.262 MB / 0.7277 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.2047, allocations: 0.9059 MB / 0.7286 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003498/0.2051, allocations: 121.3 kB / 0.7287 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.2053, allocations: 195.4 kB / 0.7289 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.2053, allocations: 3.938 kB / 0.7289 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03927/0.2446, allocations: 12.7 MB / 0.7413 GB, free: 15.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.051/9.296, allocations: 16.06 kB / 0.7414 GB, free: 15.55 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)