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.001276/0.001276, allocations: 112.3 kB / 17.08 MB, free: 5.789 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.001272/0.001272, allocations: 196.6 kB / 18.02 MB, free: 4.918 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.236/1.236, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6783/0.6783, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 65.73 kB / 0.5584 GB, free: 32.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1277, allocations: 76.18 MB / 0.6328 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02406/0.1518, allocations: 23.39 MB / 0.6556 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.1637, allocations: 6.484 MB / 0.6619 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/0.1663, allocations: 99.5 kB / 0.662 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004346/0.1707, allocations: 1.508 MB / 0.6635 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005049/0.1757, allocations: 1.929 MB / 0.6654 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.1796, allocations: 1.453 MB / 0.6668 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00788/0.1875, allocations: 6.927 MB / 0.6736 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009476/0.197, allocations: 6.932 MB / 0.6803 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004345/0.2013, allocations: 2.87 MB / 0.6831 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00491/0.2063, allocations: 3.482 MB / 0.6865 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.208, allocations: 0.5273 MB / 0.6871 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.2112, allocations: 1.178 MB / 0.6882 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003757/0.215, allocations: 2.46 MB / 0.6906 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005299/0.2203, allocations: 2.536 MB / 0.6931 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.2317, allocations: 8.518 MB / 0.7014 GB, free: 13.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.2318, allocations: 0 / 0.7014 GB, free: 13.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2318, allocations: 0 / 0.7014 GB, free: 13.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002644/0.232, allocations: 4 kB / 0.7014 GB, free: 13.79 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.01105/0.2431, allocations: 4.435 MB / 0.7057 GB, free: 9.285 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.2432, allocations: 8.031 kB / 0.7057 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008776/0.2519, allocations: 1.677 MB / 0.7074 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/0.2572, allocations: 2.696 MB / 0.71 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.2574, allocations: 279.6 kB / 0.7103 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.2585, allocations: 360.3 kB / 0.7106 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.2712, allocations: 7.487 MB / 0.7179 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.114e-05/0.2713, allocations: 7.938 kB / 0.7179 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004857/0.2718, allocations: 155.9 kB / 0.7181 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005545/0.2724, allocations: 491.3 kB / 0.7186 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009856/0.2823, allocations: 5.701 MB / 0.7241 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03432/0.3166, allocations: 31.5 MB / 0.7549 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.3195, allocations: 2.09 MB / 0.7569 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2937/0.6132, allocations: 2.177 MB / 0.7591 GB, free: 116 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.6135, allocations: 18.69 kB / 0.7591 GB, free: 116 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.6135, allocations: 48.14 kB / 0.7591 GB, free: 116 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 4.588e-06/0.6136, allocations: 2.984 kB / 0.7591 GB, free: 116 MB / 0.5919 GB Notification: Performance of matching and sorting (n=251): time 0.2793/0.8929, allocations: 77.02 MB / 0.8343 GB, free: 59.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.8929, allocations: 85.39 kB / 0.8344 GB, free: 58.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.8946, allocations: 1.67 MB / 0.8361 GB, free: 57.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003564/0.895, allocations: 65.7 kB / 0.8361 GB, free: 57.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/0.8956, allocations: 1.746 MB / 0.8378 GB, free: 55.44 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000538/0.8962, allocations: 0.8533 MB / 0.8387 GB, free: 54.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008173/0.897, allocations: 477.2 kB / 0.8391 GB, free: 54.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.289e-05/0.897, allocations: 309.1 kB / 0.8394 GB, free: 53.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/0.8999, allocations: 2.734 MB / 0.8421 GB, free: 51.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003015/0.9029, allocations: 3.332 MB / 0.8453 GB, free: 47.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006254/0.9091, allocations: 6.393 MB / 0.8516 GB, free: 40.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.9092, allocations: 4 kB / 0.8516 GB, free: 40.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02716/0.9363, allocations: 14.67 MB / 0.8659 GB, free: 26.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.9364, allocations: 16 kB / 0.8659 GB, free: 26.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.9364, allocations: 16 kB / 0.8659 GB, free: 26.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02541/0.9619, allocations: 9.238 MB / 0.875 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.963, allocations: 303.4 kB / 0.8753 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07301/1.036, allocations: 52.35 MB / 0.9264 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/1.039, allocations: 223.7 kB / 0.9266 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/1.039, allocations: 99.94 kB / 0.9267 GB, free: 11.06 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.002738/1.042, allocations: 1.582 MB / 0.9282 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005587/1.043, allocations: 241.1 kB / 0.9285 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03148/1.074, allocations: 14.75 MB / 0.9429 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/1.074, allocations: 24 kB / 0.9429 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001444/1.074, allocations: 47.98 kB / 0.9429 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.194e-05/1.074, allocations: 16.66 kB / 0.9429 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03982/1.114, allocations: 20.52 MB / 0.963 GB, free: 5.672 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/1.114, allocations: 4 kB / 0.963 GB, free: 5.668 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/1.115, allocations: 165.5 kB / 0.9632 GB, free: 5.508 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02764/1.143, allocations: 9.007 MB / 0.9719 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004035/1.143, allocations: 48 kB / 0.972 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07633/1.219, allocations: 51.91 MB / 1.023 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/1.22, allocations: 8 kB / 1.023 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03116/1.251, allocations: 14.37 MB / 1.037 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/1.253, allocations: 0.8416 MB / 1.038 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006449/1.253, allocations: 51.92 kB / 1.038 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.256, allocations: 207.7 kB / 1.038 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001259/1.257, allocations: 246 kB / 1.038 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002167/1.257, allocations: 63.94 kB / 1.038 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001534/1.259, allocations: 1.129 MB / 1.039 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.01e-07/1.259, allocations: 224 / 1.039 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004665/1.263, allocations: 1.617 MB / 1.041 GB, free: 4.961 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.0004555/1.264, allocations: 163 kB / 1.041 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.3107/1.575, allocations: 10.56 MB / 1.051 GB, free: 258.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.575, allocations: 1.281 kB / 1.051 GB, free: 258.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01799/1.593, allocations: 7.302 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.002701/1.595, allocations: 0.5514 MB / 1.059 GB, free: 257.1 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/1.608, allocations: 9.331 MB / 1.068 GB, free: 253.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002766/1.611, allocations: 3.297 MB / 1.071 GB, free: 252.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/1.611, allocations: 107.8 kB / 1.071 GB, free: 252.1 MB / 0.7481 GB Notification: Performance of SimCode: time 6.82e-07/1.611, allocations: 0 / 1.071 GB, free: 252.1 MB / 0.7481 GB Notification: Performance of Templates: time 0.1228/1.734, allocations: 187.8 MB / 1.255 GB, free: 73.11 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)