Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.254/2.254, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.00136/0.001359, allocations: 180.7 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.515/2.515, allocations: 205.4 MB / 0.5772 GB, free: 21.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.0009381/0.0009381, allocations: 94.58 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004616, allocations: 16.38 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007571/0.2226, allocations: 4.502 MB / 0.9039 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005909/0.2286, allocations: 3.108 MB / 0.9069 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.2291, allocations: 8 kB / 0.9069 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.2298, allocations: 159 kB / 0.9071 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.2311, allocations: 306.4 kB / 0.9074 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008147/0.2319, allocations: 191.6 kB / 0.9076 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.2331, allocations: 0.7164 MB / 0.9083 GB, free: 57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.235, allocations: 0.7568 MB / 0.909 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005169/0.2355, allocations: 191.2 kB / 0.9092 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004856/0.236, allocations: 263.1 kB / 0.9094 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.392e-05/0.2361, allocations: 20 kB / 0.9095 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008085/0.2369, allocations: 231.7 kB / 0.9097 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.2371, allocations: 143.6 kB / 0.9098 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.2373, allocations: 105.5 kB / 0.9099 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.2384, allocations: 0.7053 MB / 0.9106 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.2385, allocations: 4 kB / 0.9106 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2385, allocations: 0 / 0.9106 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.2385, allocations: 0 / 0.9106 GB, free: 54.56 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00186/0.2404, allocations: 0.7462 MB / 0.9113 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.2405, allocations: 11.97 kB / 0.9114 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.2454, allocations: 0.6984 MB / 0.912 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.2467, allocations: 491.9 kB / 0.9125 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.2467, allocations: 21.03 kB / 0.9125 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.2469, allocations: 36.03 kB / 0.9126 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.2495, allocations: 0.8434 MB / 0.9134 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.2495, allocations: 0 / 0.9134 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.139e-05/0.2496, allocations: 16 kB / 0.9134 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003416/0.25, allocations: 68.56 kB / 0.9135 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003572/0.2536, allocations: 0.9428 MB / 0.9144 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00618/0.2598, allocations: 2.922 MB / 0.9172 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.2627, allocations: 0.5605 MB / 0.9178 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.264, allocations: 312.6 kB / 0.9181 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.2642, allocations: 89.09 kB / 0.9182 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2643, allocations: 34.56 kB / 0.9182 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.827e-06/0.2643, allocations: 3.938 kB / 0.9182 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.02251/0.2868, allocations: 3.652 MB / 0.9218 GB, free: 42.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2869, allocations: 81.11 kB / 0.9219 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.2876, allocations: 408.5 kB / 0.9222 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.807e-05/0.2877, allocations: 29.7 kB / 0.9223 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.2879, allocations: 243.8 kB / 0.9225 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.288, allocations: 106.5 kB / 0.9226 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.2881, allocations: 8 kB / 0.9226 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.2882, allocations: 346.8 kB / 0.9229 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.2899, allocations: 399.7 kB / 0.9233 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.2916, allocations: 488.9 kB / 0.9238 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.2934, allocations: 423.7 kB / 0.9242 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.2934, allocations: 8 kB / 0.9242 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.009845/0.3033, allocations: 1.724 MB / 0.9259 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.3034, allocations: 157.7 kB / 0.926 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.3034, allocations: 0 / 0.926 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007932/0.3114, allocations: 0.9777 MB / 0.927 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.3126, allocations: 135.7 kB / 0.9271 GB, free: 37.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.3251, allocations: 6.404 MB / 0.9334 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.3265, allocations: 115.8 kB / 0.9335 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.3266, allocations: 16 kB / 0.9335 GB, free: 30.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3267, allocations: 4 kB / 0.9335 GB, free: 30.16 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008636/0.3353, allocations: 1.66 MB / 0.9351 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3354, allocations: 3.984 kB / 0.9351 GB, free: 28.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006577/0.342, allocations: 0.7212 MB / 0.9358 GB, free: 27.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.3439, allocations: 135.8 kB / 0.936 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/0.357, allocations: 5.449 MB / 0.9413 GB, free: 21.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.3591, allocations: 107.8 kB / 0.9414 GB, free: 21.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.3592, allocations: 20.05 kB / 0.9414 GB, free: 21.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007585/0.36, allocations: 328.9 kB / 0.9417 GB, free: 21.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.3603, allocations: 35.61 kB / 0.9418 GB, free: 21.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/0.3739, allocations: 1.629 MB / 0.9433 GB, free: 19.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.391e-05/0.374, allocations: 7.922 kB / 0.9433 GB, free: 19.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.374, allocations: 0 / 0.9433 GB, free: 19.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006533/0.3746, allocations: 180.6 kB / 0.9435 GB, free: 19.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.3748, allocations: 4 kB / 0.9435 GB, free: 19.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/0.3765, allocations: 91.86 kB / 0.9436 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.3768, allocations: 35.94 kB / 0.9436 GB, free: 19.25 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01041/0.3872, allocations: 1.4 MB / 0.945 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006387/0.3937, allocations: 1.308 MB / 0.9463 GB, free: 16.51 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002057/0.3958, allocations: 367.7 kB / 0.9466 GB, free: 16.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007469/0.3966, allocations: 315.1 kB / 0.9469 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of Backend: time 1.072e-06/0.3966, allocations: 0 / 0.9469 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0102/0.4068, allocations: 2.101 MB / 0.949 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003807/0.4107, allocations: 1.674 MB / 0.9506 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.03732/0.4481, allocations: 16.28 MB / 0.9665 GB, free: 11.7 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)