Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009399/0.0009401, allocations: 173.5 kB / 326.5 MB, free: 2.684 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.793/1.793, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007521/0.0007521, allocations: 95.67 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 8.406 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2046, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.009553/0.2142, allocations: 11.55 MB / 0.908 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006479/0.2207, allocations: 5.565 MB / 0.9135 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006982/0.2214, allocations: 31.88 kB / 0.9135 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.2234, allocations: 0.9674 MB / 0.9145 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.2247, allocations: 0.6028 MB / 0.915 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.2267, allocations: 0.8911 MB / 0.9159 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.229, allocations: 3.765 MB / 0.9196 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003713/0.2328, allocations: 4.037 MB / 0.9235 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.2338, allocations: 0.786 MB / 0.9243 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.2349, allocations: 1.117 MB / 0.9254 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.2351, allocations: 108 kB / 0.9255 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000961/0.236, allocations: 0.5109 MB / 0.926 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004676/0.2365, allocations: 0.7482 MB / 0.9267 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005957/0.2371, allocations: 0.8319 MB / 0.9275 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.2392, allocations: 3.715 MB / 0.9312 GB, free: 32.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2392, allocations: 0 / 0.9312 GB, free: 32.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2393, allocations: 0 / 0.9312 GB, free: 32.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.895e-05/0.2393, allocations: 0 / 0.9312 GB, free: 32.77 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003135/0.2424, allocations: 1.756 MB / 0.9329 GB, free: 30.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.2425, allocations: 8.031 kB / 0.9329 GB, free: 30.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.2458, allocations: 0.7519 MB / 0.9336 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.2477, allocations: 1.251 MB / 0.9348 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.154e-05/0.2478, allocations: 123.6 kB / 0.935 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.248, allocations: 160.1 kB / 0.9351 GB, free: 28.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/0.2517, allocations: 2.96 MB / 0.938 GB, free: 25.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.2518, allocations: 0 / 0.938 GB, free: 25.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.2519, allocations: 71.98 kB / 0.9381 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003215/0.2522, allocations: 203 kB / 0.9383 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003089/0.2553, allocations: 2.518 MB / 0.9407 GB, free: 22.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008863/0.2642, allocations: 10.9 MB / 0.9514 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.2653, allocations: 0.9198 MB / 0.9523 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/0.2658, allocations: 0.509 MB / 0.9528 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.2659, allocations: 89.47 kB / 0.9528 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.266, allocations: 42.92 kB / 0.9529 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 2.665e-06/0.266, allocations: 0 / 0.9529 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.02374/0.2897, allocations: 8.972 MB / 0.9616 GB, free: 344 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.2898, allocations: 89.67 kB / 0.9617 GB, free: 236 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.2911, allocations: 0.9454 MB / 0.9627 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.963e-05/0.2912, allocations: 37.64 kB / 0.9627 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/0.2917, allocations: 0.7736 MB / 0.9634 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.2919, allocations: 252.5 kB / 0.9637 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.2921, allocations: 85.67 kB / 0.9638 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.2923, allocations: 394.8 kB / 0.9641 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.2935, allocations: 0.8067 MB / 0.9649 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.2949, allocations: 1.164 MB / 0.9661 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/0.2975, allocations: 2.005 MB / 0.968 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.2976, allocations: 4 kB / 0.968 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009591/0.3072, allocations: 3.795 MB / 0.9717 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003827/0.3076, allocations: 417.2 kB / 0.9721 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/0.3076, allocations: 15.94 kB / 0.9722 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009022/0.3166, allocations: 2.162 MB / 0.9743 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009302/0.3176, allocations: 227.6 kB / 0.9745 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/0.334, allocations: 10.26 MB / 0.9845 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.3356, allocations: 199.5 kB / 0.9847 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.3358, allocations: 47.98 kB / 0.9847 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3358, allocations: 7.938 kB / 0.9847 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007611/0.3434, allocations: 3.091 MB / 0.9878 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/0.3435, allocations: 8 kB / 0.9878 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005272/0.3487, allocations: 1.361 MB / 0.9891 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.3499, allocations: 291.5 kB / 0.9894 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.3607, allocations: 6.147 MB / 0.9954 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.3621, allocations: 171.6 kB / 0.9955 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.3623, allocations: 47.98 kB / 0.9956 GB, free: 12.62 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001485/0.3638, allocations: 0.8947 MB / 0.9965 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.3641, allocations: 90.91 kB / 0.9966 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009189/0.3733, allocations: 3.324 MB / 0.9998 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.658e-05/0.3733, allocations: 3.984 kB / 0.9998 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.3733, allocations: 0 / 0.9998 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/0.3741, allocations: 328 kB / 1 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.3744, allocations: 15.94 kB / 1 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.3755, allocations: 155.7 kB / 1 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.3758, allocations: 80.45 kB / 1 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006804/0.3826, allocations: 3.052 MB / 1.003 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003542/0.3861, allocations: 2.496 MB / 1.006 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001063/0.3872, allocations: 0.7896 MB / 1.007 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001329/0.3886, allocations: 0.6785 MB / 1.007 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of Backend: time 4.2e-07/0.3886, allocations: 0 / 1.007 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.008638/0.3973, allocations: 3.562 MB / 1.011 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of SimCode: time 0.00729/0.4046, allocations: 4.403 MB / 1.015 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of Templates: time 0.04955/0.4542, allocations: 33.13 MB / 1.047 GB, free: 7.656 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)