Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 179.6 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007641/0.0007641, allocations: 93.31 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 9.625 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1841, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003609/0.1878, allocations: 3.942 MB / 0.9053 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002739/0.1905, allocations: 2.405 MB / 0.9077 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.1909, allocations: 15.88 kB / 0.9077 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.1911, allocations: 71.42 kB / 0.9077 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008125/0.192, allocations: 346.4 kB / 0.9081 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/0.1926, allocations: 289.8 kB / 0.9083 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006942/0.1933, allocations: 0.8699 MB / 0.9092 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007297/0.1941, allocations: 450.8 kB / 0.9096 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003372/0.1944, allocations: 231 kB / 0.9098 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.1948, allocations: 262.8 kB / 0.9101 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.1948, allocations: 16 kB / 0.9101 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000744/0.1956, allocations: 0.5262 MB / 0.9106 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.1957, allocations: 131.5 kB / 0.9108 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.196, allocations: 248.4 kB / 0.911 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005798/0.1965, allocations: 0.5457 MB / 0.9115 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1966, allocations: 0 / 0.9115 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1966, allocations: 0 / 0.9115 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.304e-05/0.1966, allocations: 4 kB / 0.9115 GB, free: 53.09 MB / 0.6042 GB 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.0009604/0.1976, allocations: 0.7015 MB / 0.9122 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1976, allocations: 12.03 kB / 0.9122 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.1989, allocations: 188 kB / 0.9124 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.1993, allocations: 412.4 kB / 0.9128 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1994, allocations: 21.38 kB / 0.9128 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.1994, allocations: 36.36 kB / 0.9128 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/0.2001, allocations: 0.6587 MB / 0.9135 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2001, allocations: 3.938 kB / 0.9135 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.2001, allocations: 16 kB / 0.9135 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.2002, allocations: 51.97 kB / 0.9136 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005686/0.2008, allocations: 0.4915 MB / 0.914 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.2029, allocations: 3.79 MB / 0.9177 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.2043, allocations: 0.6244 MB / 0.9184 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.2045, allocations: 186.4 kB / 0.9185 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.2045, allocations: 4 kB / 0.9185 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.2046, allocations: 34.56 kB / 0.9186 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.2046, allocations: 4 kB / 0.9186 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001782/0.2063, allocations: 1.284 MB / 0.9198 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.2064, allocations: 106.8 kB / 0.9199 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.2067, allocations: 397.8 kB / 0.9203 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2067, allocations: 29.7 kB / 0.9203 GB, free: 43.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2068, allocations: 291.4 kB / 0.9206 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.2069, allocations: 110.4 kB / 0.9207 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.2069, allocations: 8 kB / 0.9207 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.95e-05/0.207, allocations: 360.5 kB / 0.9211 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.2072, allocations: 173 kB / 0.9212 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.2074, allocations: 379.2 kB / 0.9216 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.2079, allocations: 0.5912 MB / 0.9222 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.208, allocations: 3.938 kB / 0.9222 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008526/0.2088, allocations: 0.6791 MB / 0.9228 GB, free: 40.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2088, allocations: 8 kB / 0.9228 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.2089, allocations: 7.938 kB / 0.9229 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.2092, allocations: 98.44 kB / 0.9229 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.2095, allocations: 111.8 kB / 0.9231 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.2116, allocations: 4.036 MB / 0.927 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.2119, allocations: 31.97 kB / 0.927 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.212, allocations: 24 kB / 0.927 GB, free: 35.97 MB / 0.6042 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.0001709/0.2121, allocations: 197.8 kB / 0.9272 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/0.2122, allocations: 47.44 kB / 0.9273 GB, free: 35.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007235/0.213, allocations: 0.5113 MB / 0.9278 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.213, allocations: 4 kB / 0.9278 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.213, allocations: 8 kB / 0.9278 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.213, allocations: 7.922 kB / 0.9278 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.2143, allocations: 1.279 MB / 0.9291 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2143, allocations: 3.938 kB / 0.9291 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.2145, allocations: 63.89 kB / 0.9291 GB, free: 33.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/0.2148, allocations: 94.5 kB / 0.9292 GB, free: 33.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.2148, allocations: 12.28 kB / 0.9292 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.2168, allocations: 4.024 MB / 0.9331 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2168, allocations: 4 kB / 0.9332 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006554/0.2175, allocations: 0.7816 MB / 0.9339 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.2176, allocations: 168.3 kB / 0.9341 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.2177, allocations: 11.94 kB / 0.9341 GB, free: 28.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.2179, allocations: 23.97 kB / 0.9341 GB, free: 28.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.218, allocations: 31.91 kB / 0.9341 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.218, allocations: 16 kB / 0.9342 GB, free: 28.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000214/0.2183, allocations: 275.1 kB / 0.9344 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2183, allocations: 0 / 0.9344 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006088/0.2189, allocations: 124 kB / 0.9345 GB, free: 27.7 MB / 0.6042 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.0001104/0.219, allocations: 119.1 kB / 0.9346 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000922/0.2199, allocations: 0.8018 MB / 0.9354 GB, free: 26.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2199, allocations: 0 / 0.9354 GB, free: 26.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005223/0.2205, allocations: 0.5474 MB / 0.936 GB, free: 26.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009419/0.2214, allocations: 123.7 kB / 0.9361 GB, free: 26.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2225, allocations: 1.144 MB / 0.9372 GB, free: 24.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.2228, allocations: 0.8703 MB / 0.9381 GB, free: 23.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2229, allocations: 35.44 kB / 0.9381 GB, free: 23.89 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2229, allocations: 0 / 0.9381 GB, free: 23.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.009895/0.2328, allocations: 11.04 MB / 0.9489 GB, free: 12.88 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)