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.001077/0.001077, allocations: 107 kB / 16.41 MB, free: 6.492 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.00115/0.00115, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.353/1.353, allocations: 222.9 MB / 241 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.7553/0.7553, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.83 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1607, allocations: 76.18 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0243/0.1851, allocations: 23.4 MB / 0.6549 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.1965, allocations: 6.488 MB / 0.6613 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002705/0.1992, allocations: 99.5 kB / 0.6614 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00446/0.2038, allocations: 1.499 MB / 0.6628 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007257/0.211, allocations: 1.933 MB / 0.6647 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004169/0.2152, allocations: 1.46 MB / 0.6662 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00819/0.2235, allocations: 6.919 MB / 0.6729 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008693/0.2322, allocations: 6.941 MB / 0.6797 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005654/0.2379, allocations: 2.878 MB / 0.6825 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006385/0.2443, allocations: 3.47 MB / 0.6859 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001889/0.2462, allocations: 0.5312 MB / 0.6864 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.2496, allocations: 1.178 MB / 0.6876 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003541/0.2532, allocations: 2.456 MB / 0.69 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004265/0.2575, allocations: 2.536 MB / 0.6924 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.2677, allocations: 8.522 MB / 0.7008 GB, free: 13.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.2678, allocations: 3.938 kB / 0.7008 GB, free: 13.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2678, allocations: 0 / 0.7008 GB, free: 13.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000311/0.2681, allocations: 0 / 0.7008 GB, free: 13.8 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.01126/0.2794, allocations: 4.435 MB / 0.7051 GB, free: 9.301 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.2794, allocations: 12.03 kB / 0.7051 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008964/0.2884, allocations: 1.665 MB / 0.7067 GB, free: 7.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005462/0.2939, allocations: 2.704 MB / 0.7094 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.2942, allocations: 275.7 kB / 0.7096 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/0.2955, allocations: 360.3 kB / 0.71 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.3116, allocations: 7.487 MB / 0.7173 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.3118, allocations: 11.94 kB / 0.7173 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009841/0.3128, allocations: 159.9 kB / 0.7174 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006344/0.3134, allocations: 487.3 kB / 0.7179 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.3255, allocations: 5.701 MB / 0.7235 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04212/0.3676, allocations: 31.5 MB / 0.7542 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.3709, allocations: 2.093 MB / 0.7563 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3488/0.7197, allocations: 2.174 MB / 0.7584 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.7201, allocations: 18.38 kB / 0.7584 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.7201, allocations: 51.47 kB / 0.7585 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 4.769e-06/0.7201, allocations: 0 / 0.7585 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=251): time 0.2924/1.013, allocations: 77.03 MB / 0.8337 GB, free: 58.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/1.013, allocations: 85.39 kB / 0.8338 GB, free: 58.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/1.015, allocations: 1.666 MB / 0.8354 GB, free: 56.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005242/1.015, allocations: 65.7 kB / 0.8355 GB, free: 56.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007168/1.016, allocations: 1.743 MB / 0.8372 GB, free: 54.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008152/1.017, allocations: 0.8528 MB / 0.838 GB, free: 53.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/1.018, allocations: 485.2 kB / 0.8385 GB, free: 53.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.023e-05/1.018, allocations: 305.1 kB / 0.8388 GB, free: 52.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/1.021, allocations: 2.73 MB / 0.8414 GB, free: 50.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003314/1.024, allocations: 3.332 MB / 0.8447 GB, free: 46.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006689/1.031, allocations: 6.393 MB / 0.8509 GB, free: 39.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/1.031, allocations: 8 kB / 0.8509 GB, free: 39.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02895/1.06, allocations: 14.68 MB / 0.8653 GB, free: 25.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/1.06, allocations: 12 kB / 0.8653 GB, free: 25.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/1.06, allocations: 16 kB / 0.8653 GB, free: 25.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02798/1.088, allocations: 9.244 MB / 0.8743 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.09, allocations: 295.5 kB / 0.8746 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08148/1.171, allocations: 52.35 MB / 0.9257 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/1.174, allocations: 226 kB / 0.9259 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004834/1.175, allocations: 96 kB / 0.926 GB, free: 10.14 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.002947/1.178, allocations: 1.59 MB / 0.9276 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006647/1.178, allocations: 246.9 kB / 0.9278 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03412/1.212, allocations: 14.74 MB / 0.9422 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/1.212, allocations: 28 kB / 0.9422 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001703/1.213, allocations: 47.5 kB / 0.9423 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.075e-05/1.213, allocations: 16.59 kB / 0.9423 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04486/1.258, allocations: 20.52 MB / 0.9623 GB, free: 4.742 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-05/1.258, allocations: 4 kB / 0.9623 GB, free: 4.738 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008645/1.259, allocations: 163.8 kB / 0.9625 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03062/1.289, allocations: 9.005 MB / 0.9713 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004976/1.29, allocations: 52 kB / 0.9713 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08605/1.376, allocations: 51.91 MB / 1.022 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.616e-05/1.376, allocations: 11.94 kB / 1.022 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03568/1.412, allocations: 14.37 MB / 1.036 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002486/1.414, allocations: 0.8377 MB / 1.037 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008948/1.415, allocations: 55.98 kB / 1.037 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002715/1.418, allocations: 203.7 kB / 1.037 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001533/1.419, allocations: 241.3 kB / 1.037 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003836/1.42, allocations: 67.94 kB / 1.037 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002033/1.422, allocations: 1.122 MB / 1.039 GB, free: 5.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.82e-07/1.422, allocations: 3.281 kB / 1.039 GB, free: 5.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005439/1.427, allocations: 1.617 MB / 1.04 GB, free: 4.043 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.0005553/1.428, allocations: 170.9 kB / 1.04 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.3279/1.756, allocations: 10.54 MB / 1.051 GB, free: 257.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.756, allocations: 2.594 kB / 1.051 GB, free: 257.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01849/1.774, allocations: 7.303 MB / 1.058 GB, free: 256.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/1.777, allocations: 0.5573 MB / 1.058 GB, free: 256.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.79, allocations: 8.7 MB / 1.067 GB, free: 253 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003052/1.793, allocations: 3.221 MB / 1.07 GB, free: 251.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001071/1.795, allocations: 391.6 kB / 1.07 GB, free: 251.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/1.795, allocations: 100.1 kB / 1.07 GB, free: 251.8 MB / 0.7481 GB Notification: Performance of SimCode: time 8.92e-07/1.795, allocations: 0 / 1.07 GB, free: 251.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.1093/1.904, allocations: 92.68 MB / 1.161 GB, free: 167.2 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)