Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001297/0.001297, allocations: 196.8 kB / 16.26 MB, free: 6.621 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.306/1.306, allocations: 222.9 MB / 239.9 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.002052/0.002052, allocations: 286.2 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9377/0.9377, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 93.47 kB / 0.5947 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1456, allocations: 86.99 MB / 0.6796 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005483/0.1512, allocations: 4.304 MB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.1543, allocations: 2.359 MB / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.1545, allocations: 15.88 kB / 0.6862 GB, free: 10.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009903/0.1555, allocations: 346.7 kB / 0.6865 GB, free: 9.992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000649/0.1562, allocations: 338.5 kB / 0.6868 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006386/0.1569, allocations: 293.9 kB / 0.6871 GB, free: 9.375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.1575, allocations: 0.6789 MB / 0.6878 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.1579, allocations: 298.1 kB / 0.688 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.1582, allocations: 259 kB / 0.6883 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.1585, allocations: 270.9 kB / 0.6885 GB, free: 7.879 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.1585, allocations: 32 kB / 0.6886 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005303/0.159, allocations: 435 kB / 0.689 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1592, allocations: 135.6 kB / 0.6891 GB, free: 7.289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.1594, allocations: 246.6 kB / 0.6894 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007513/0.1601, allocations: 0.7592 MB / 0.6901 GB, free: 6.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1602, allocations: 3.984 kB / 0.6901 GB, free: 6.281 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1602, allocations: 0 / 0.6901 GB, free: 6.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1602, allocations: 0 / 0.6901 GB, free: 6.281 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001028/0.1612, allocations: 0.7755 MB / 0.6909 GB, free: 5.457 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1613, allocations: 12.03 kB / 0.6909 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.1626, allocations: 188 kB / 0.6911 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.163, allocations: 408.4 kB / 0.6914 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.1631, allocations: 25.38 kB / 0.6915 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.1631, allocations: 36.36 kB / 0.6915 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008522/0.164, allocations: 0.6471 MB / 0.6921 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.164, allocations: 11.84 kB / 0.6921 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.1641, allocations: 19.98 kB / 0.6922 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/0.1641, allocations: 59.84 kB / 0.6922 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/0.1648, allocations: 496 kB / 0.6927 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/0.1679, allocations: 3.786 MB / 0.6964 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.1696, allocations: 0.6322 MB / 0.697 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.1699, allocations: 174.5 kB / 0.6972 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.1699, allocations: 15.92 kB / 0.6972 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.1699, allocations: 34.56 kB / 0.6972 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.1699, allocations: 0 / 0.6972 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0021/0.172, allocations: 1.281 MB / 0.6985 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.1721, allocations: 110.8 kB / 0.6986 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.1725, allocations: 398.4 kB / 0.699 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1725, allocations: 29.7 kB / 0.699 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.1727, allocations: 287.4 kB / 0.6993 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.583e-05/0.1728, allocations: 118.3 kB / 0.6994 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.1729, allocations: 98.14 kB / 0.6995 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.173, allocations: 350.8 kB / 0.6998 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.1733, allocations: 185 kB / 0.7 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.1737, allocations: 379.1 kB / 0.7003 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/0.1744, allocations: 0.5835 MB / 0.7009 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.1744, allocations: 11.92 kB / 0.7009 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009719/0.1754, allocations: 0.6708 MB / 0.7016 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1754, allocations: 8 kB / 0.7016 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1754, allocations: 8 kB / 0.7016 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/0.1757, allocations: 103 kB / 0.7017 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.1761, allocations: 115.8 kB / 0.7018 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.1791, allocations: 4.333 MB / 0.706 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.1794, allocations: 27.97 kB / 0.7061 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.1794, allocations: 24.12 kB / 0.7061 GB, free: 4.676 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0001906/0.1796, allocations: 203.5 kB / 0.7063 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1797, allocations: 47.44 kB / 0.7063 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008239/0.1806, allocations: 0.5189 MB / 0.7068 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1806, allocations: 4 kB / 0.7068 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1806, allocations: 4 kB / 0.7068 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1806, allocations: 3.984 kB / 0.7068 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.1822, allocations: 1.283 MB / 0.7081 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1822, allocations: 4 kB / 0.7081 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.1824, allocations: 63.89 kB / 0.7082 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/0.1827, allocations: 94.78 kB / 0.7082 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.1827, allocations: 8 kB / 0.7083 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002917/0.1856, allocations: 4.341 MB / 0.7125 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.1857, allocations: 8.281 kB / 0.7125 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/0.1865, allocations: 0.7815 MB / 0.7133 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.1866, allocations: 152.5 kB / 0.7134 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.1867, allocations: 8 kB / 0.7134 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.187, allocations: 23.97 kB / 0.7134 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.1871, allocations: 39.84 kB / 0.7135 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.1871, allocations: 12 kB / 0.7135 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002573/0.1874, allocations: 283.1 kB / 0.7138 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.1874, allocations: 0 / 0.7138 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006003/0.188, allocations: 120 kB / 0.7139 GB, free: 12.07 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0001253/0.1881, allocations: 117.6 kB / 0.714 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.1892, allocations: 0.821 MB / 0.7148 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1893, allocations: 0 / 0.7148 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006647/0.1899, allocations: 0.5551 MB / 0.7153 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008549/0.1908, allocations: 133.5 kB / 0.7155 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.1921, allocations: 1.073 MB / 0.7165 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.1925, allocations: 0.8664 MB / 0.7174 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002622/0.1928, allocations: 104.5 kB / 0.7175 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.668e-05/0.1929, allocations: 35.44 kB / 0.7175 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1929, allocations: 3.938 kB / 0.7175 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of Templates: time 0.009451/0.2024, allocations: 5.791 MB / 0.7231 GB, free: 2.453 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)