Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 108.7 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.001461/0.001461, allocations: 195 kB / 18.01 MB, free: 5.098 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.248/1.248, 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.6838/0.6838, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 68.33 kB / 0.5584 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1354, allocations: 76.17 MB / 0.6328 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02471/0.1602, allocations: 23.39 MB / 0.6556 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.1711, allocations: 6.496 MB / 0.6619 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.1734, allocations: 95.56 kB / 0.662 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004029/0.1774, allocations: 1.491 MB / 0.6635 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004727/0.1822, allocations: 1.832 MB / 0.6653 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003669/0.1858, allocations: 1.451 MB / 0.6667 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0079/0.1938, allocations: 6.912 MB / 0.6734 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009501/0.2033, allocations: 6.943 MB / 0.6802 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004707/0.208, allocations: 2.874 MB / 0.683 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005605/0.2136, allocations: 3.466 MB / 0.6864 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001637/0.2153, allocations: 0.5312 MB / 0.6869 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.2186, allocations: 1.186 MB / 0.6881 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00361/0.2222, allocations: 2.452 MB / 0.6905 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004639/0.2269, allocations: 2.536 MB / 0.693 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009187/0.2361, allocations: 8.522 MB / 0.7013 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.2361, allocations: 4 kB / 0.7013 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2361, allocations: 0 / 0.7013 GB, free: 13.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002533/0.2364, allocations: 0 / 0.7013 GB, free: 13.96 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008289/0.2447, allocations: 4.428 MB / 0.7056 GB, free: 9.461 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2447, allocations: 12.03 kB / 0.7056 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008056/0.2528, allocations: 1.677 MB / 0.7073 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006642/0.2595, allocations: 2.692 MB / 0.7099 GB, free: 5.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.2597, allocations: 275.7 kB / 0.7101 GB, free: 4.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009373/0.2607, allocations: 360.3 kB / 0.7105 GB, free: 4.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.2723, allocations: 7.498 MB / 0.7178 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.712e-05/0.2724, allocations: 7.938 kB / 0.7178 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003925/0.2728, allocations: 159.9 kB / 0.718 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005157/0.2733, allocations: 487.3 kB / 0.7184 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008172/0.2815, allocations: 5.693 MB / 0.724 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03201/0.3136, allocations: 31.5 MB / 0.7548 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/0.3164, allocations: 2.09 MB / 0.7568 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3261/0.6424, allocations: 2.185 MB / 0.7589 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003287/0.6428, allocations: 15.16 kB / 0.759 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.6428, allocations: 46.91 kB / 0.759 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.636e-06/0.6429, allocations: 1.438 kB / 0.759 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=251): time 0.2834/0.9262, allocations: 77.03 MB / 0.8342 GB, free: 58.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.9263, allocations: 77.41 kB / 0.8343 GB, free: 58.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.9285, allocations: 1.67 MB / 0.8359 GB, free: 56.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004314/0.929, allocations: 65.7 kB / 0.836 GB, free: 56.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007742/0.9297, allocations: 1.746 MB / 0.8377 GB, free: 54.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008264/0.9306, allocations: 0.8492 MB / 0.8385 GB, free: 54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.9317, allocations: 485.2 kB / 0.839 GB, free: 53.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.222e-05/0.9317, allocations: 309.1 kB / 0.8393 GB, free: 53.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002971/0.9347, allocations: 2.73 MB / 0.842 GB, free: 50.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/0.9379, allocations: 3.324 MB / 0.8452 GB, free: 46.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0063/0.9442, allocations: 6.398 MB / 0.8514 GB, free: 40.28 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.9442, allocations: 8 kB / 0.8515 GB, free: 40.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02788/0.9721, allocations: 14.68 MB / 0.8658 GB, free: 25.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.9722, allocations: 12 kB / 0.8658 GB, free: 25.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.9722, allocations: 16.88 kB / 0.8658 GB, free: 25.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0266/0.9988, allocations: 9.243 MB / 0.8748 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1, allocations: 299.5 kB / 0.8751 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07932/1.079, allocations: 52.35 MB / 0.9262 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/1.083, allocations: 224.6 kB / 0.9265 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004925/1.083, allocations: 97.41 kB / 0.9266 GB, free: 10.47 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002697/1.086, allocations: 1.586 MB / 0.9281 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006201/1.086, allocations: 245.1 kB / 0.9283 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03265/1.119, allocations: 14.75 MB / 0.9427 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/1.119, allocations: 24 kB / 0.9428 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001686/1.119, allocations: 44 kB / 0.9428 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.534e-05/1.119, allocations: 11.95 kB / 0.9428 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04429/1.164, allocations: 20.53 MB / 0.9629 GB, free: 5.078 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.488e-05/1.164, allocations: 8.031 kB / 0.9629 GB, free: 5.074 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000777/1.165, allocations: 163.7 kB / 0.963 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02899/1.194, allocations: 9.01 MB / 0.9718 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005537/1.194, allocations: 48 kB / 0.9719 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07672/1.271, allocations: 51.91 MB / 1.023 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.248e-06/1.271, allocations: 11.94 kB / 1.023 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03134/1.302, allocations: 14.36 MB / 1.037 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002445/1.305, allocations: 0.8474 MB / 1.037 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006198/1.305, allocations: 51.98 kB / 1.037 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002386/1.308, allocations: 207.7 kB / 1.038 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/1.309, allocations: 241.2 kB / 1.038 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/1.309, allocations: 75.94 kB / 1.038 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001741/1.311, allocations: 1.125 MB / 1.039 GB, free: 5.984 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.41e-07/1.311, allocations: 336 / 1.039 GB, free: 5.984 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004763/1.316, allocations: 1.617 MB / 1.041 GB, free: 4.367 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005283/1.316, allocations: 163 kB / 1.041 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.318/1.634, allocations: 10.55 MB / 1.051 GB, free: 258.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/1.634, allocations: 3.969 kB / 1.051 GB, free: 258.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01928/1.654, allocations: 7.301 MB / 1.058 GB, free: 257.1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/1.657, allocations: 0.5492 MB / 1.059 GB, free: 256.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/1.669, allocations: 9.319 MB / 1.068 GB, free: 252.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002716/1.672, allocations: 3.299 MB / 1.071 GB, free: 251.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/1.672, allocations: 110.8 kB / 1.071 GB, free: 251.6 MB / 0.7481 GB Notification: Performance of SimCode: time 1.242e-06/1.672, allocations: 0 / 1.071 GB, free: 251.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.1274/1.8, allocations: 188.3 MB / 1.255 GB, free: 71.29 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)