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.001146/0.001146, allocations: 110.5 kB / 17.08 MB, free: 6.016 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.001198/0.001198, allocations: 195 kB / 18.01 MB, free: 5.094 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.271/1.271, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6833/0.6833, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.22 kB / 0.5584 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1286, allocations: 76.18 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01461/0.1432, allocations: 11.96 MB / 0.6444 GB, free: 8.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008976/0.1523, allocations: 5.704 MB / 0.65 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009908/0.1533, allocations: 35.88 kB / 0.65 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.1562, allocations: 1.038 MB / 0.651 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.158, allocations: 0.6723 MB / 0.6517 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.1603, allocations: 0.982 MB / 0.6527 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002871/0.1632, allocations: 2.583 MB / 0.6552 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004268/0.1675, allocations: 3.779 MB / 0.6589 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.1694, allocations: 1.208 MB / 0.6601 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.1716, allocations: 1.328 MB / 0.6613 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005474/0.1722, allocations: 252 kB / 0.6616 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.1734, allocations: 0.558 MB / 0.6621 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.1746, allocations: 0.9434 MB / 0.6631 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.1763, allocations: 1.062 MB / 0.6641 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003603/0.1799, allocations: 3.857 MB / 0.6679 GB, free: 356 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1799, allocations: 4 kB / 0.6679 GB, free: 352 kB / 0.4981 GB Notification: Performance of FrontEnd: time 3.246e-06/0.18, allocations: 3.984 kB / 0.6679 GB, free: 348 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.79e-05/0.18, allocations: 0 / 0.6679 GB, free: 348 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.003767/0.1838, allocations: 2.089 MB / 0.6699 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1838, allocations: 8.031 kB / 0.6699 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/0.187, allocations: 0.7401 MB / 0.6706 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.1897, allocations: 1.216 MB / 0.6718 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.401e-05/0.1898, allocations: 127.6 kB / 0.6719 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.1902, allocations: 160 kB / 0.6721 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004982/0.1952, allocations: 2.96 MB / 0.675 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.759e-05/0.1953, allocations: 3.984 kB / 0.675 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.1955, allocations: 71.98 kB / 0.6751 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003587/0.1959, allocations: 167.1 kB / 0.6752 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004328/0.2002, allocations: 2.518 MB / 0.6777 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.214, allocations: 10.73 MB / 0.6882 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.2156, allocations: 0.9565 MB / 0.6891 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008029/0.2164, allocations: 0.5055 MB / 0.6896 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.2166, allocations: 101.5 kB / 0.6897 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.2166, allocations: 34.94 kB / 0.6897 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=46): time 2.836e-06/0.2166, allocations: 0 / 0.6897 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=70): time 0.02956/0.2462, allocations: 8.074 MB / 0.6976 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.2463, allocations: 59.97 kB / 0.6977 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.2479, allocations: 0.9298 MB / 0.6986 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.777e-05/0.248, allocations: 37.7 kB / 0.6986 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005838/0.2486, allocations: 0.7697 MB / 0.6994 GB, free: 14.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.2488, allocations: 248.5 kB / 0.6996 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004391/0.2493, allocations: 214.8 kB / 0.6998 GB, free: 14.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.2495, allocations: 402.7 kB / 0.7002 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.2509, allocations: 0.8061 MB / 0.701 GB, free: 13.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.2526, allocations: 1.155 MB / 0.7021 GB, free: 11.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/0.2556, allocations: 1.993 MB / 0.704 GB, free: 9.699 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.2557, allocations: 4 kB / 0.704 GB, free: 9.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00973/0.2654, allocations: 3.67 MB / 0.7076 GB, free: 6.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.2655, allocations: 8 kB / 0.7076 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.2655, allocations: 12 kB / 0.7077 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007411/0.2729, allocations: 1.897 MB / 0.7095 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.2739, allocations: 239.6 kB / 0.7097 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/0.2898, allocations: 10.57 MB / 0.7201 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.2914, allocations: 191.6 kB / 0.7202 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.2916, allocations: 47.98 kB / 0.7203 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002465/0.294, allocations: 1.525 MB / 0.7218 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00156/0.2956, allocations: 1.128 MB / 0.7229 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002771/0.2984, allocations: 1.935 MB / 0.7248 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.169e-05/0.2984, allocations: 4 kB / 0.7248 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007965/0.3064, allocations: 3.096 MB / 0.7278 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.3065, allocations: 12.31 kB / 0.7278 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.3065, allocations: 16 kB / 0.7278 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004823/0.3113, allocations: 1.202 MB / 0.729 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.3126, allocations: 275.6 kB / 0.7293 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008592/0.3212, allocations: 5.843 MB / 0.735 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.3228, allocations: 175.7 kB / 0.7351 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.323, allocations: 48 kB / 0.7352 GB, free: 9.055 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.0004337/0.3234, allocations: 243.9 kB / 0.7354 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.3237, allocations: 94.89 kB / 0.7355 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008662/0.3323, allocations: 3.168 MB / 0.7386 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.3324, allocations: 12 kB / 0.7386 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3324, allocations: 3.938 kB / 0.7386 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.3324, allocations: 3.984 kB / 0.7386 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.3445, allocations: 5.285 MB / 0.7438 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.3445, allocations: 0 / 0.7438 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.345, allocations: 104.1 kB / 0.7439 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006591/0.3516, allocations: 1.713 MB / 0.7455 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.3517, allocations: 20 kB / 0.7456 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/0.3657, allocations: 9.987 MB / 0.7553 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3658, allocations: 0 / 0.7553 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008012/0.3738, allocations: 3.019 MB / 0.7583 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008278/0.3747, allocations: 327.8 kB / 0.7586 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.3749, allocations: 15.94 kB / 0.7586 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.376, allocations: 143.8 kB / 0.7587 GB, free: 440 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/0.3763, allocations: 60.42 kB / 0.7588 GB, free: 380 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/0.3763, allocations: 20 kB / 0.7588 GB, free: 360 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.2965/0.6728, allocations: 0.6732 MB / 0.7595 GB, free: 116.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6729, allocations: 0.5312 kB / 0.7595 GB, free: 116.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003878/0.6768, allocations: 0.6903 MB / 0.7601 GB, free: 116.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 40 * 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 Backend phase and start with SimCode phase: time 0.0003425/0.6771, allocations: 126.5 kB / 0.7603 GB, free: 116.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006776/0.6839, allocations: 3.536 MB / 0.7637 GB, free: 116.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.6839, allocations: 0.9688 kB / 0.7637 GB, free: 116.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.6861, allocations: 1.252 MB / 0.7649 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.6876, allocations: 292.8 kB / 0.7652 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006969/0.6946, allocations: 3.654 MB / 0.7688 GB, free: 114.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002412/0.697, allocations: 1.73 MB / 0.7705 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.6974, allocations: 70.53 kB / 0.7705 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.6974, allocations: 0 / 0.7705 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.03964/0.737, allocations: 43.39 MB / 0.8129 GB, free: 82.95 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)