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.0007954/0.0007954, allocations: 97.33 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.004448/0.004448, allocations: 169.5 kB / 16.26 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.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 271 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9323/0.9323, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004199, allocations: 12.34 kB / 0.5987 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1599, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004458/0.1644, allocations: 3.919 MB / 0.689 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.1677, allocations: 2.349 MB / 0.6913 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.1679, allocations: 15.88 kB / 0.6913 GB, free: 8.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.1681, allocations: 71.36 kB / 0.6913 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007078/0.1689, allocations: 349.3 kB / 0.6917 GB, free: 8.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.1695, allocations: 297.1 kB / 0.692 GB, free: 8.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.1703, allocations: 0.8621 MB / 0.6928 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008111/0.1711, allocations: 460.3 kB / 0.6932 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.1714, allocations: 219 kB / 0.6934 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.1717, allocations: 266.8 kB / 0.6937 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.1717, allocations: 16 kB / 0.6937 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007014/0.1725, allocations: 0.5301 MB / 0.6942 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.1726, allocations: 127.6 kB / 0.6944 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.1728, allocations: 244.5 kB / 0.6946 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006921/0.1735, allocations: 0.7396 MB / 0.6953 GB, free: 4.586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1735, allocations: 0 / 0.6953 GB, free: 4.586 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1735, allocations: 0 / 0.6953 GB, free: 4.586 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1735, allocations: 0 / 0.6953 GB, free: 4.586 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.0009292/0.1745, allocations: 0.6976 MB / 0.696 GB, free: 3.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1745, allocations: 12.03 kB / 0.696 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.1758, allocations: 184.1 kB / 0.6962 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.1762, allocations: 408.5 kB / 0.6966 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1763, allocations: 29.3 kB / 0.6966 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.1763, allocations: 28.38 kB / 0.6966 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007974/0.1771, allocations: 0.6549 MB / 0.6973 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1772, allocations: 11.84 kB / 0.6973 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.1772, allocations: 27.97 kB / 0.6973 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-05/0.1773, allocations: 51.91 kB / 0.6974 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006691/0.178, allocations: 500 kB / 0.6978 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.1808, allocations: 3.783 MB / 0.7015 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.1824, allocations: 0.6321 MB / 0.7021 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.1827, allocations: 178.5 kB / 0.7023 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.1827, allocations: 11.94 kB / 0.7023 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1827, allocations: 38.5 kB / 0.7024 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.1827, allocations: 0 / 0.7024 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002048/0.1848, allocations: 1.28 MB / 0.7036 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.1849, allocations: 110.8 kB / 0.7037 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.1852, allocations: 397.8 kB / 0.7041 GB, free: 11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.1853, allocations: 31.39 kB / 0.7041 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.1855, allocations: 291.4 kB / 0.7044 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.11e-05/0.1855, allocations: 118.3 kB / 0.7045 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/0.1856, allocations: 49.69 kB / 0.7046 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1857, allocations: 350.8 kB / 0.7049 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.186, allocations: 177 kB / 0.7051 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.1863, allocations: 371.3 kB / 0.7054 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.187, allocations: 0.5913 MB / 0.706 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.187, allocations: 7.938 kB / 0.706 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009616/0.188, allocations: 0.6675 MB / 0.7067 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.188, allocations: 8 kB / 0.7067 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.188, allocations: 8.062 kB / 0.7067 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/0.1883, allocations: 98.44 kB / 0.7068 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.1887, allocations: 111.8 kB / 0.7069 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.1915, allocations: 4.036 MB / 0.7108 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.1919, allocations: 31.98 kB / 0.7108 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.1919, allocations: 27.98 kB / 0.7109 GB, free: 3.43 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.0002026/0.1921, allocations: 199.6 kB / 0.7111 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.1922, allocations: 55.38 kB / 0.7111 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008336/0.193, allocations: 0.5188 MB / 0.7116 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1931, allocations: 4 kB / 0.7116 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1931, allocations: 4 kB / 0.7116 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1931, allocations: 0 / 0.7116 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.1947, allocations: 1.287 MB / 0.7129 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1947, allocations: 0 / 0.7129 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.1949, allocations: 59.91 kB / 0.7129 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/0.1952, allocations: 98.42 kB / 0.713 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.1952, allocations: 8 kB / 0.713 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/0.1981, allocations: 4.036 MB / 0.717 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/0.1981, allocations: 7.938 kB / 0.717 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.199, allocations: 0.7712 MB / 0.7177 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.1991, allocations: 156.5 kB / 0.7179 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.1992, allocations: 15.88 kB / 0.7179 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.1995, allocations: 19.97 kB / 0.7179 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.1995, allocations: 27.97 kB / 0.718 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1996, allocations: 16 kB / 0.718 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002588/0.1998, allocations: 279.4 kB / 0.7182 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1998, allocations: 0 / 0.7182 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006171/0.2005, allocations: 124 kB / 0.7184 GB, free: 11.16 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.0001449/0.2006, allocations: 127.7 kB / 0.7185 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.2017, allocations: 0.8022 MB / 0.7193 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2017, allocations: 4.062 kB / 0.7193 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006656/0.2024, allocations: 0.5427 MB / 0.7198 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.2035, allocations: 131.7 kB / 0.7199 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.2048, allocations: 1.098 MB / 0.721 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.2052, allocations: 0.8625 MB / 0.7218 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002707/0.2055, allocations: 104.5 kB / 0.7219 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.2056, allocations: 35.44 kB / 0.722 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.2056, allocations: 0 / 0.722 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of Templates: time 0.009558/0.2152, allocations: 5.483 MB / 0.7273 GB, free: 1.859 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)