Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 116.1 kB / 17.09 MB, free: 5.957 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.001081/0.001081, allocations: 197.5 kB / 18.03 MB, free: 5.043 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6909/0.6909, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.11 kB / 0.5584 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.163, allocations: 76.18 MB / 0.6328 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01369/0.1768, allocations: 11.95 MB / 0.6444 GB, free: 8.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009291/0.1861, allocations: 5.701 MB / 0.65 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.1875, allocations: 39.88 kB / 0.65 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.1908, allocations: 1.04 MB / 0.6511 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.193, allocations: 0.6724 MB / 0.6517 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.1957, allocations: 0.9696 MB / 0.6527 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003228/0.199, allocations: 2.587 MB / 0.6552 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00458/0.2036, allocations: 3.787 MB / 0.6589 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.2055, allocations: 1.212 MB / 0.6601 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.2076, allocations: 1.332 MB / 0.6614 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000621/0.2082, allocations: 252 kB / 0.6616 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.2097, allocations: 0.5579 MB / 0.6621 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.211, allocations: 0.9473 MB / 0.6631 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002/0.213, allocations: 1.066 MB / 0.6641 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005128/0.2181, allocations: 3.853 MB / 0.6679 GB, free: 304 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2182, allocations: 0 / 0.6679 GB, free: 304 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2182, allocations: 4 kB / 0.6679 GB, free: 300 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001059/0.2183, allocations: 0 / 0.6679 GB, free: 300 kB / 0.4981 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.00576/0.2241, allocations: 2.093 MB / 0.6699 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2241, allocations: 8.031 kB / 0.6699 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/0.2278, allocations: 0.7362 MB / 0.6707 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.2301, allocations: 1.224 MB / 0.6718 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.2303, allocations: 123.6 kB / 0.672 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000457/0.2307, allocations: 160 kB / 0.6721 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005457/0.2362, allocations: 2.956 MB / 0.675 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.853e-05/0.2363, allocations: 4 kB / 0.675 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/0.2365, allocations: 67.98 kB / 0.6751 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003692/0.2369, allocations: 171 kB / 0.6752 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004705/0.2416, allocations: 2.518 MB / 0.6777 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.2548, allocations: 10.74 MB / 0.6882 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.2564, allocations: 0.9432 MB / 0.6891 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007673/0.2572, allocations: 0.5146 MB / 0.6896 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.2574, allocations: 93.45 kB / 0.6897 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.2574, allocations: 42.94 kB / 0.6897 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=46): time 2.835e-06/0.2574, allocations: 0 / 0.6897 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=70): time 0.02912/0.2865, allocations: 8.07 MB / 0.6976 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.2866, allocations: 59.97 kB / 0.6977 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.2879, allocations: 0.922 MB / 0.6986 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.2881, allocations: 41.7 kB / 0.6986 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/0.2886, allocations: 0.7736 MB / 0.6994 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.2888, allocations: 244.5 kB / 0.6996 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003926/0.2892, allocations: 214.8 kB / 0.6998 GB, free: 14.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2894, allocations: 406.7 kB / 0.7002 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.2908, allocations: 0.8023 MB / 0.701 GB, free: 13.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.2923, allocations: 1.147 MB / 0.7021 GB, free: 11.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/0.2952, allocations: 2.001 MB / 0.7041 GB, free: 9.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.2952, allocations: 4 kB / 0.7041 GB, free: 9.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009423/0.3046, allocations: 3.666 MB / 0.7076 GB, free: 5.973 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.3047, allocations: 12 kB / 0.7076 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.3047, allocations: 11.94 kB / 0.7077 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007216/0.3119, allocations: 1.901 MB / 0.7095 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.313, allocations: 239.5 kB / 0.7097 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/0.3286, allocations: 10.58 MB / 0.7201 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.3302, allocations: 187.6 kB / 0.7203 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.3304, allocations: 47.98 kB / 0.7203 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002663/0.3331, allocations: 1.521 MB / 0.7218 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001546/0.3347, allocations: 1.124 MB / 0.7229 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00285/0.3375, allocations: 1.943 MB / 0.7248 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-05/0.3376, allocations: 4 kB / 0.7248 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007734/0.3453, allocations: 3.096 MB / 0.7278 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3453, allocations: 12 kB / 0.7278 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.3454, allocations: 12.31 kB / 0.7278 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004572/0.35, allocations: 1.198 MB / 0.729 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.3511, allocations: 283.5 kB / 0.7293 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00839/0.3596, allocations: 5.85 MB / 0.735 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.3611, allocations: 175.7 kB / 0.7351 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.3612, allocations: 47.94 kB / 0.7352 GB, free: 9.008 MB / 0.5762 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.0004034/0.3617, allocations: 247.9 kB / 0.7354 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.3619, allocations: 90.91 kB / 0.7355 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008473/0.3704, allocations: 3.164 MB / 0.7386 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.3705, allocations: 7.984 kB / 0.7386 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3705, allocations: 0 / 0.7386 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/0.3711, allocations: 320 kB / 0.7389 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/0.3713, allocations: 19.92 kB / 0.7389 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009864/0.3723, allocations: 127.8 kB / 0.7391 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.3726, allocations: 76.53 kB / 0.7391 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006313/0.3789, allocations: 2.82 MB / 0.7419 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003127/0.382, allocations: 2.391 MB / 0.7442 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009881/0.383, allocations: 0.7584 MB / 0.745 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001047/0.3841, allocations: 0.6785 MB / 0.7456 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of Backend: time 3.21e-07/0.3841, allocations: 0 / 0.7456 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005993/0.3901, allocations: 3.176 MB / 0.7487 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of SimCode: time 0.005649/0.3958, allocations: 3.733 MB / 0.7524 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of Templates: time 0.3677/0.7635, allocations: 35.94 MB / 0.7875 GB, free: 107.9 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)