Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 106 kB / 16.41 MB, free: 6.508 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.001044/0.001044, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7256/0.7256, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 66.22 kB / 0.5577 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.164, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01145/0.1755, allocations: 10.06 MB / 0.6419 GB, free: 10.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005577/0.1811, allocations: 3.182 MB / 0.645 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000864/0.182, allocations: 35.88 kB / 0.6451 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.1837, allocations: 0.6008 MB / 0.6457 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.1854, allocations: 0.7779 MB / 0.6464 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.187, allocations: 0.733 MB / 0.6471 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003176/0.1902, allocations: 2.996 MB / 0.6501 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003005/0.1932, allocations: 2.594 MB / 0.6526 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.1952, allocations: 1.266 MB / 0.6538 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.1972, allocations: 1.558 MB / 0.6553 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003267/0.1976, allocations: 236 kB / 0.6556 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.1986, allocations: 0.4993 MB / 0.6561 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009539/0.1996, allocations: 1.068 MB / 0.6571 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.2008, allocations: 1.116 MB / 0.6582 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00345/0.2042, allocations: 3.689 MB / 0.6618 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2042, allocations: 0 / 0.6618 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2043, allocations: 0 / 0.6618 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.982e-05/0.2043, allocations: 0 / 0.6618 GB, free: 5.867 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004149/0.2085, allocations: 2.146 MB / 0.6639 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2085, allocations: 12.03 kB / 0.6639 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009084/0.2176, allocations: 1.309 MB / 0.6652 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.2205, allocations: 1.298 MB / 0.6664 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.2207, allocations: 111.4 kB / 0.6666 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003693/0.221, allocations: 156.3 kB / 0.6667 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006171/0.2272, allocations: 3.437 MB / 0.6701 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/0.2273, allocations: 4 kB / 0.6701 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.2275, allocations: 75.94 kB / 0.6701 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002664/0.2278, allocations: 199.1 kB / 0.6703 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00532/0.2331, allocations: 3.131 MB / 0.6734 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01873/0.2518, allocations: 13.54 MB / 0.6866 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.2546, allocations: 1.735 MB / 0.6883 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/0.2569, allocations: 1.433 MB / 0.6897 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.852e-05/0.257, allocations: 17 kB / 0.6897 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.257, allocations: 43.55 kB / 0.6898 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 3.577e-06/0.2571, allocations: 0 / 0.6898 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.159/0.416, allocations: 36.69 MB / 0.7256 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.4162, allocations: 73.41 kB / 0.7257 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.4187, allocations: 1.053 MB / 0.7267 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004432/0.4192, allocations: 53.7 kB / 0.7267 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000773/0.42, allocations: 0.7835 MB / 0.7275 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/0.4211, allocations: 0.6277 MB / 0.7281 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/0.4229, allocations: 367.3 kB / 0.7285 GB, free: 276 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002312/0.4232, allocations: 305.1 kB / 0.7288 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004512/0.4277, allocations: 1.932 MB / 0.7306 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004766/0.4325, allocations: 2.281 MB / 0.7329 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009566/0.4421, allocations: 4.39 MB / 0.7372 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.706e-05/0.4421, allocations: 4 kB / 0.7372 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.4262/0.8684, allocations: 9.018 MB / 0.746 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.8684, allocations: 9.656 kB / 0.746 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.8685, allocations: 9.719 kB / 0.746 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01819/0.8867, allocations: 4.976 MB / 0.7508 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008968/0.8876, allocations: 197.1 kB / 0.751 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04951/0.9371, allocations: 38.88 MB / 0.789 GB, free: 76.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.9394, allocations: 103.9 kB / 0.7891 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004022/0.9398, allocations: 68 kB / 0.7892 GB, free: 76.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001281/0.9411, allocations: 0.8038 MB / 0.79 GB, free: 75.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/0.9414, allocations: 142.2 kB / 0.7901 GB, free: 75.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01766/0.9591, allocations: 8.896 MB / 0.7988 GB, free: 66.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.9591, allocations: 20 kB / 0.7988 GB, free: 66.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.495e-05/0.9592, allocations: 30.3 kB / 0.7988 GB, free: 66.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.281e-05/0.9592, allocations: 7.969 kB / 0.7988 GB, free: 66.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02295/0.9822, allocations: 13.4 MB / 0.8119 GB, free: 53.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/0.9823, allocations: 7.938 kB / 0.8119 GB, free: 53.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.9828, allocations: 115.9 kB / 0.812 GB, free: 53.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01529/0.9981, allocations: 4.842 MB / 0.8168 GB, free: 48.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004236/0.9986, allocations: 37.72 kB / 0.8168 GB, free: 48.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04565/1.044, allocations: 36.82 MB / 0.8528 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.044, allocations: 7.938 kB / 0.8528 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/1.062, allocations: 8.597 MB / 0.8612 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/1.063, allocations: 0.6398 MB / 0.8618 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004731/1.064, allocations: 28 kB / 0.8618 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/1.065, allocations: 103.8 kB / 0.8619 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009743/1.066, allocations: 173.6 kB / 0.8621 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/1.067, allocations: 44 kB / 0.8621 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001012/1.068, allocations: 0.7379 MB / 0.8628 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/1.068, allocations: 3.938 kB / 0.8628 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003288/1.071, allocations: 1.008 MB / 0.8638 GB, free: 15.48 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003475/1.071, allocations: 145.5 kB / 0.864 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.082, allocations: 5.939 MB / 0.8698 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.082, allocations: 4.188 kB / 0.8698 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008593/1.091, allocations: 3.931 MB / 0.8736 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/1.093, allocations: 239.6 kB / 0.8738 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009736/1.102, allocations: 5.072 MB / 0.8788 GB, free: 72 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/1.105, allocations: 1.859 MB / 0.8806 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009124/1.105, allocations: 356.9 kB / 0.8809 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/1.106, allocations: 67.38 kB / 0.881 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/1.106, allocations: 0 / 0.881 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of Templates: time 0.08567/1.191, allocations: 61.2 MB / 0.9408 GB, free: 0.7109 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)