Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.799/1.799, allocations: 288.4 MB / 303.4 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 184.5 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008939/0.000894, allocations: 99.19 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004039, allocations: 9.656 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1982, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003581/0.2018, allocations: 3.745 MB / 0.9833 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002966/0.2048, allocations: 2.274 MB / 0.9855 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.2053, allocations: 19.81 kB / 0.9855 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.2056, allocations: 71.36 kB / 0.9856 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008607/0.2065, allocations: 278.6 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.2072, allocations: 229.6 kB / 0.986 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007395/0.208, allocations: 0.7334 MB / 0.9868 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007014/0.2087, allocations: 418.8 kB / 0.9872 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003174/0.209, allocations: 227 kB / 0.9874 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.2093, allocations: 255 kB / 0.9876 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.2093, allocations: 16 kB / 0.9876 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.2098, allocations: 211.7 kB / 0.9878 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.2099, allocations: 127.6 kB / 0.988 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.978e-05/0.21, allocations: 109.5 kB / 0.9881 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.2105, allocations: 0.534 MB / 0.9886 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2105, allocations: 0 / 0.9886 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2105, allocations: 3.938 kB / 0.9886 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.2105, allocations: 0 / 0.9886 GB, free: 18.41 MB / 0.6198 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.0008882/0.2114, allocations: 0.7053 MB / 0.9893 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2114, allocations: 12.02 kB / 0.9893 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.2126, allocations: 179.1 kB / 0.9895 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.213, allocations: 403.3 kB / 0.9898 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.213, allocations: 28.98 kB / 0.9899 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.2131, allocations: 32 kB / 0.9899 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/0.2137, allocations: 0.6429 MB / 0.9905 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.2138, allocations: 7.938 kB / 0.9905 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.2138, allocations: 19.94 kB / 0.9906 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.044e-05/0.2139, allocations: 47.97 kB / 0.9906 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.2144, allocations: 0.4932 MB / 0.9911 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.2167, allocations: 3.786 MB / 0.9948 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.2181, allocations: 0.6282 MB / 0.9954 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.2183, allocations: 182.4 kB / 0.9956 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.2184, allocations: 4 kB / 0.9956 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.2184, allocations: 42.5 kB / 0.9956 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.2184, allocations: 0 / 0.9956 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001874/0.2203, allocations: 1.272 MB / 0.9969 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.2203, allocations: 110.8 kB / 0.997 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.2206, allocations: 395.5 kB / 0.9973 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.2207, allocations: 33.7 kB / 0.9974 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.2208, allocations: 283.5 kB / 0.9976 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.2208, allocations: 122.3 kB / 0.9978 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.2209, allocations: 8 kB / 0.9978 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.2209, allocations: 354.8 kB / 0.9981 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.2212, allocations: 173 kB / 0.9983 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.2215, allocations: 375.2 kB / 0.9986 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.2217, allocations: 236.1 kB / 0.9989 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2218, allocations: 0 / 0.9989 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008546/0.2226, allocations: 0.6669 MB / 0.9995 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2226, allocations: 8 kB / 0.9995 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2227, allocations: 8 kB / 0.9995 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003662/0.223, allocations: 99.12 kB / 0.9996 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.2234, allocations: 115.8 kB / 0.9997 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.2255, allocations: 4.025 MB / 1.004 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.2259, allocations: 39.98 kB / 1.004 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.226, allocations: 24 kB / 1.004 GB, free: 1.777 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002621/0.2262, allocations: 193.6 kB / 1.004 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.2263, allocations: 47.44 kB / 1.004 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008089/0.2272, allocations: 0.519 MB / 1.004 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2272, allocations: 7.938 kB / 1.004 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2272, allocations: 4 kB / 1.004 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2272, allocations: 0 / 1.004 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.2288, allocations: 1.272 MB / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.2288, allocations: 7.953 kB / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.2291, allocations: 63.89 kB / 1.006 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/0.2293, allocations: 94.73 kB / 1.006 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.2294, allocations: 11.98 kB / 1.006 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/0.2323, allocations: 4.028 MB / 1.01 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.2323, allocations: 7.938 kB / 1.01 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008794/0.2332, allocations: 0.7699 MB / 1.011 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.2334, allocations: 152.5 kB / 1.011 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.2334, allocations: 12 kB / 1.011 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.2337, allocations: 27.92 kB / 1.011 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.2338, allocations: 27.91 kB / 1.011 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.2338, allocations: 24.27 kB / 1.011 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002825/0.2341, allocations: 271.1 kB / 1.011 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2341, allocations: 0 / 1.011 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006289/0.2348, allocations: 131.9 kB / 1.011 GB, free: 9.523 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001829/0.2349, allocations: 107.2 kB / 1.011 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.2361, allocations: 0.8055 MB / 1.012 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2361, allocations: 0 / 1.012 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006507/0.2368, allocations: 0.5476 MB / 1.013 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008402/0.2376, allocations: 131.2 kB / 1.013 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.239, allocations: 1.069 MB / 1.014 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.2395, allocations: 0.8547 MB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002858/0.2398, allocations: 104.5 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2399, allocations: 43.42 kB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/0.2399, allocations: 0 / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of Templates: time 0.009225/0.2491, allocations: 5.312 MB / 1.02 GB, free: 448 kB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)