Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 121.7 kB / 17.09 MB, free: 6 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.001232/0.001232, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.283/1.283, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6935/0.6935, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 62.84 kB / 0.5584 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1356, allocations: 76.19 MB / 0.6328 GB, free: 4.32 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03867/0.1743, allocations: 37.56 MB / 0.6694 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.1949, allocations: 13.05 MB / 0.6822 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.1985, allocations: 175.1 kB / 0.6823 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009202/0.2078, allocations: 3.892 MB / 0.6861 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007354/0.2151, allocations: 2.604 MB / 0.6887 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006706/0.2219, allocations: 2.715 MB / 0.6913 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01179/0.2337, allocations: 9.591 MB / 0.7007 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01442/0.2481, allocations: 10.49 MB / 0.711 GB, free: 3.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006455/0.2546, allocations: 4.074 MB / 0.7149 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006959/0.2616, allocations: 4.388 MB / 0.7192 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002303/0.2639, allocations: 0.7695 MB / 0.72 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004476/0.2684, allocations: 1.767 MB / 0.7217 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004303/0.2728, allocations: 3.033 MB / 0.7247 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00699/0.2798, allocations: 3.587 MB / 0.7282 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.2936, allocations: 11.85 MB / 0.7397 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2937, allocations: 7.938 kB / 0.7397 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2937, allocations: 3.938 kB / 0.7397 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003457/0.294, allocations: 0 / 0.7397 GB, free: 6.328 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.3038/0.5978, allocations: 6.352 MB / 0.7459 GB, free: 97.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5979, allocations: 10.23 kB / 0.746 GB, free: 97.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00916/0.6071, allocations: 1.304 MB / 0.7472 GB, free: 97.24 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007367/0.6144, allocations: 3.781 MB / 0.7509 GB, free: 96.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.6148, allocations: 383.9 kB / 0.7513 GB, free: 96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/0.6165, allocations: 0.499 MB / 0.7518 GB, free: 95.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/0.6335, allocations: 8.887 MB / 0.7605 GB, free: 92.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/0.6337, allocations: 34 kB / 0.7605 GB, free: 92.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006545/0.6344, allocations: 224.3 kB / 0.7607 GB, free: 91.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002095/0.6365, allocations: 0.6342 MB / 0.7613 GB, free: 91.87 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.6483, allocations: 7.015 MB / 0.7682 GB, free: 88.36 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03593/0.6843, allocations: 40.05 MB / 0.8073 GB, free: 49.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/0.6874, allocations: 2.894 MB / 0.8101 GB, free: 46.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002623/0.69, allocations: 2.665 MB / 0.8127 GB, free: 43.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.6902, allocations: 30.09 kB / 0.8127 GB, free: 43.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.6902, allocations: 64.66 kB / 0.8128 GB, free: 43.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 4.498e-06/0.6902, allocations: 0 / 0.8128 GB, free: 43.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.2722/0.9624, allocations: 74.69 MB / 0.8857 GB, free: 164 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.9626, allocations: 98.73 kB / 0.8858 GB, free: 52 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003265/0.9658, allocations: 2.352 MB / 0.8881 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0008499/0.9667, allocations: 97.7 kB / 0.8882 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.9682, allocations: 2.338 MB / 0.8905 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001942/0.9702, allocations: 1.441 MB / 0.8919 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/0.9716, allocations: 0.7176 MB / 0.8926 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.9717, allocations: 309.1 kB / 0.8929 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004233/0.9759, allocations: 2.999 MB / 0.8958 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005243/0.9812, allocations: 3.843 MB / 0.8996 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.9917, allocations: 7.384 MB / 0.9068 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/0.9918, allocations: 8 kB / 0.9068 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02818/1.02, allocations: 12.55 MB / 0.9191 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/1.02, allocations: 20 kB / 0.9191 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/1.02, allocations: 24 kB / 0.9191 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02194/1.042, allocations: 6.02 MB / 0.925 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/1.044, allocations: 495.2 kB / 0.9255 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08299/1.127, allocations: 72.99 MB / 0.9967 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003836/1.131, allocations: 219.7 kB / 0.997 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000511/1.132, allocations: 156 kB / 0.9971 GB, free: 9.949 MB / 0.7325 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003239/1.135, allocations: 1.996 MB / 0.9991 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008155/1.136, allocations: 391.4 kB / 0.9994 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02696/1.163, allocations: 12.23 MB / 1.011 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/1.163, allocations: 40 kB / 1.011 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001291/1.163, allocations: 55.98 kB / 1.011 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.989e-05/1.163, allocations: 24 kB / 1.011 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03765/1.201, allocations: 19.14 MB / 1.03 GB, free: 7.754 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.865e-05/1.201, allocations: 7.984 kB / 1.03 GB, free: 7.746 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/1.202, allocations: 291.5 kB / 1.03 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02018/1.222, allocations: 5.583 MB / 1.036 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006695/1.223, allocations: 83.98 kB / 1.036 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3719/1.595, allocations: 70.6 MB / 1.105 GB, free: 218 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.595, allocations: 10.81 kB / 1.105 GB, free: 218 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02688/1.622, allocations: 15.62 MB / 1.12 GB, free: 209.8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002507/1.624, allocations: 1.045 MB / 1.121 GB, free: 209 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000737/1.625, allocations: 80 kB / 1.121 GB, free: 208.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.628, allocations: 218.5 kB / 1.122 GB, free: 208.8 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/1.629, allocations: 401 kB / 1.122 GB, free: 208.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002621/1.629, allocations: 110 kB / 1.122 GB, free: 208.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001639/1.631, allocations: 1.561 MB / 1.124 GB, free: 207.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/1.631, allocations: 0 / 1.124 GB, free: 207.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005219/1.636, allocations: 1.863 MB / 1.125 GB, free: 205.2 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004924/1.637, allocations: 215.8 kB / 1.126 GB, free: 205 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01674/1.653, allocations: 12.2 MB / 1.137 GB, free: 192.9 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.653, allocations: 0 / 1.137 GB, free: 192.9 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01276/1.666, allocations: 8.373 MB / 1.146 GB, free: 184.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005443/1.672, allocations: 1.189 MB / 1.147 GB, free: 183.1 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/1.689, allocations: 12.93 MB / 1.159 GB, free: 170.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00409/1.694, allocations: 4.164 MB / 1.163 GB, free: 166 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008575/1.694, allocations: 195.4 kB / 1.164 GB, free: 165.8 MB / 0.7637 GB Notification: Performance of SimCode: time 1.142e-06/1.694, allocations: 0 / 1.164 GB, free: 165.8 MB / 0.7637 GB Notification: Performance of Templates: time 1.297/2.991, allocations: 0.7441 GB / 1.908 GB, free: 268.3 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)