Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 115.2 kB / 17.08 MB, free: 5.973 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.001172/0.001172, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.258/1.258, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7007/0.7007, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.92 kB / 0.5584 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1239, allocations: 76.17 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03931/0.1632, allocations: 37.95 MB / 0.6698 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01742/0.1807, allocations: 10.98 MB / 0.6805 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00335/0.1841, allocations: 159.2 kB / 0.6807 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.1946, allocations: 4.365 MB / 0.6849 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006111/0.2007, allocations: 2.336 MB / 0.6872 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005394/0.2062, allocations: 2.165 MB / 0.6893 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01047/0.2166, allocations: 9.307 MB / 0.6984 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01521/0.2319, allocations: 11.27 MB / 0.7094 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005977/0.2379, allocations: 4.047 MB / 0.7134 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006682/0.2446, allocations: 4.51 MB / 0.7178 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002105/0.2467, allocations: 0.8242 MB / 0.7186 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.2507, allocations: 1.592 MB / 0.7202 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004223/0.2549, allocations: 3.146 MB / 0.7232 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006056/0.261, allocations: 3.657 MB / 0.7268 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.2746, allocations: 12.31 MB / 0.7388 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.2746, allocations: 4 kB / 0.7388 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2746, allocations: 0 / 0.7388 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003354/0.275, allocations: 0 / 0.7388 GB, free: 7.402 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0145/0.2895, allocations: 6.314 MB / 0.745 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2895, allocations: 8.031 kB / 0.745 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.285/0.5746, allocations: 1.069 MB / 0.746 GB, free: 98.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007999/0.5826, allocations: 3.608 MB / 0.7496 GB, free: 97.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004528/0.5831, allocations: 427.5 kB / 0.75 GB, free: 97.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/0.5849, allocations: 0.5422 MB / 0.7505 GB, free: 97.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02108/0.606, allocations: 9.378 MB / 0.7597 GB, free: 93.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000304/0.6064, allocations: 15.88 kB / 0.7597 GB, free: 93.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001566/0.608, allocations: 255 kB / 0.7599 GB, free: 93.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009427/0.6089, allocations: 424.4 kB / 0.7603 GB, free: 93.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.622, allocations: 7.127 MB / 0.7673 GB, free: 90.05 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03406/0.6561, allocations: 41 MB / 0.8073 GB, free: 49.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003697/0.6598, allocations: 3.107 MB / 0.8104 GB, free: 46.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002314/0.6622, allocations: 2.145 MB / 0.8124 GB, free: 44.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.6623, allocations: 22 kB / 0.8125 GB, free: 44.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.6624, allocations: 64.56 kB / 0.8125 GB, free: 44.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 4.127e-06/0.6624, allocations: 0 / 0.8125 GB, free: 44.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.02045/0.6828, allocations: 10.55 MB / 0.8228 GB, free: 33.83 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.6829, allocations: 73.41 kB / 0.8229 GB, free: 33.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.685, allocations: 2.013 MB / 0.8249 GB, free: 31.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/0.6852, allocations: 65.7 kB / 0.8249 GB, free: 31.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008459/0.6861, allocations: 2.396 MB / 0.8273 GB, free: 29.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.6865, allocations: 0.7346 MB / 0.828 GB, free: 28.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005748/0.6871, allocations: 485.2 kB / 0.8285 GB, free: 28.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.575e-05/0.6871, allocations: 301.1 kB / 0.8287 GB, free: 27.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.6886, allocations: 1.372 MB / 0.8301 GB, free: 26.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.6903, allocations: 2.108 MB / 0.8321 GB, free: 23.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/0.6936, allocations: 3.766 MB / 0.8358 GB, free: 19.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.6937, allocations: 12 kB / 0.8358 GB, free: 19.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006277/0.6999, allocations: 5.053 MB / 0.8408 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.7, allocations: 24.02 kB / 0.8408 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.7, allocations: 24 kB / 0.8408 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00287/0.7029, allocations: 1.582 MB / 0.8424 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.7044, allocations: 457.1 kB / 0.8428 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/0.7226, allocations: 18.58 MB / 0.8609 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.7248, allocations: 147.8 kB / 0.8611 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/0.7251, allocations: 104.2 kB / 0.8612 GB, free: 9.301 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00278/0.7279, allocations: 1.949 MB / 0.8631 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005573/0.7284, allocations: 288.6 kB / 0.8634 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006909/0.7353, allocations: 4.447 MB / 0.8677 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.7354, allocations: 20 kB / 0.8677 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.386e-05/0.7354, allocations: 20 kB / 0.8677 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.7354, allocations: 11.95 kB / 0.8677 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.7501, allocations: 9.669 MB / 0.8772 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.7501, allocations: 4 kB / 0.8772 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009862/0.7511, allocations: 235.6 kB / 0.8774 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003145/0.7543, allocations: 1.429 MB / 0.8788 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/0.7544, allocations: 40.12 kB / 0.8789 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02148/0.7759, allocations: 18.57 MB / 0.897 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.776, allocations: 8 kB / 0.897 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006997/0.783, allocations: 4.555 MB / 0.9014 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.7843, allocations: 0.63 MB / 0.9021 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004508/0.7848, allocations: 43.98 kB / 0.9021 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.7862, allocations: 115.9 kB / 0.9022 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004921/0.7867, allocations: 177.6 kB / 0.9024 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.7869, allocations: 60 kB / 0.9024 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001825/0.7887, allocations: 1.315 MB / 0.9037 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7887, allocations: 0 / 0.9037 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003176/0.7919, allocations: 1.145 MB / 0.9048 GB, free: 11.77 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003553/0.7923, allocations: 163 kB / 0.905 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007156/0.7994, allocations: 4.717 MB / 0.9096 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.7995, allocations: 0 / 0.9096 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004547/0.804, allocations: 2.923 MB / 0.9125 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003988/0.808, allocations: 0.8836 MB / 0.9133 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/0.825, allocations: 10.05 MB / 0.9231 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005323/0.8304, allocations: 3.788 MB / 0.9268 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007683/0.8312, allocations: 167.4 kB / 0.927 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of SimCode: time 1.503e-06/0.8312, allocations: 0 / 0.927 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of Templates: time 0.4572/1.288, allocations: 172.1 MB / 1.095 GB, free: 207.8 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)