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.0009905/0.0009907, allocations: 88.83 kB / 16.67 MB, free: 6.59 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.001077/0.001077, allocations: 179.9 kB / 17.58 MB, free: 6.188 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.344/1.344, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7295/0.7295, allocations: 115.5 MB / 408.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3695, allocations: 77.51 MB / 0.5606 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.00936/0.379, allocations: 9.576 MB / 0.5699 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004994/0.384, allocations: 3.145 MB / 0.573 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00081/0.3848, allocations: 30.5 kB / 0.573 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.3853, allocations: 179.5 kB / 0.5732 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.3868, allocations: 0.6999 MB / 0.5739 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.3882, allocations: 0.6492 MB / 0.5745 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004796/0.393, allocations: 4.491 MB / 0.5789 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004474/0.3975, allocations: 3.13 MB / 0.582 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.3995, allocations: 0.9374 MB / 0.5829 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002429/0.4019, allocations: 1.451 MB / 0.5843 GB, free: 23.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003866/0.4023, allocations: 117.3 kB / 0.5844 GB, free: 23.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.4035, allocations: 466.7 kB / 0.5849 GB, free: 23.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.4047, allocations: 0.9281 MB / 0.5858 GB, free: 22.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.4059, allocations: 0.9695 MB / 0.5867 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.4084, allocations: 3.016 MB / 0.5897 GB, free: 20.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4084, allocations: 0 / 0.5897 GB, free: 20.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.668e-06/0.4084, allocations: 4.953 kB / 0.5897 GB, free: 20.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.769e-05/0.4085, allocations: 3.938 kB / 0.5897 GB, free: 20.03 MB / 446.1 MB 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.00364/0.4121, allocations: 1.749 MB / 0.5914 GB, free: 18.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4122, allocations: 9.312 kB / 0.5914 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009009/0.4212, allocations: 1.325 MB / 0.5927 GB, free: 18.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.4235, allocations: 1.253 MB / 0.5939 GB, free: 17.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/0.4236, allocations: 111.4 kB / 0.594 GB, free: 16.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003877/0.424, allocations: 152.3 kB / 0.5942 GB, free: 16.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004635/0.4286, allocations: 3.441 MB / 0.5975 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.4287, allocations: 4 kB / 0.5975 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/0.4289, allocations: 59.97 kB / 0.5976 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002163/0.4291, allocations: 211.1 kB / 0.5978 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004193/0.4333, allocations: 3.131 MB / 0.6008 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/0.4486, allocations: 13.59 MB / 0.6141 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/0.4512, allocations: 1.725 MB / 0.6158 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002001/0.4533, allocations: 1.436 MB / 0.6172 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.637e-05/0.4534, allocations: 12.98 kB / 0.6172 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.4534, allocations: 47.55 kB / 0.6173 GB, free: 8.176 MB / 462.1 MB Notification: Performance of pre-optimization done (n=104): time 2.605e-06/0.4534, allocations: 0 / 0.6173 GB, free: 8.176 MB / 462.1 MB Notification: Performance of matching and sorting (n=183): time 0.1565/0.61, allocations: 35.95 MB / 0.6524 GB, free: 4.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.6101, allocations: 73.34 kB / 0.6524 GB, free: 4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.6117, allocations: 1.054 MB / 0.6535 GB, free: 2.922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003525/0.6121, allocations: 57.69 kB / 0.6535 GB, free: 2.859 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005415/0.6127, allocations: 0.7912 MB / 0.6543 GB, free: 2.055 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007754/0.6134, allocations: 0.6238 MB / 0.6549 GB, free: 1.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/0.6138, allocations: 157.6 kB / 0.655 GB, free: 1.262 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.614, allocations: 301.1 kB / 0.6553 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002882/0.6168, allocations: 1.928 MB / 0.6572 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003145/0.62, allocations: 2.293 MB / 0.6595 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006183/0.6262, allocations: 4.391 MB / 0.6637 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.6262, allocations: 0 / 0.6637 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02167/0.6479, allocations: 9.019 MB / 0.6726 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.648, allocations: 15.94 kB / 0.6726 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.648, allocations: 12 kB / 0.6726 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01811/0.6661, allocations: 4.979 MB / 0.6774 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009215/0.6671, allocations: 191.7 kB / 0.6776 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05704/0.7242, allocations: 35.16 MB / 0.712 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/0.7265, allocations: 103.9 kB / 0.7121 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004221/0.727, allocations: 68 kB / 0.7121 GB, free: 5.965 MB / 0.545 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.001852/0.7288, allocations: 0.8103 MB / 0.7129 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004913/0.7293, allocations: 142.3 kB / 0.713 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02186/0.7512, allocations: 8.886 MB / 0.7217 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.7513, allocations: 20 kB / 0.7217 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.575e-05/0.7514, allocations: 28 kB / 0.7218 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.324e-05/0.7514, allocations: 7.969 kB / 0.7218 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02988/0.7813, allocations: 13.26 MB / 0.7347 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-05/0.7814, allocations: 4 kB / 0.7347 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.782, allocations: 120.3 kB / 0.7348 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01822/0.8002, allocations: 4.769 MB / 0.7395 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005834/0.8008, allocations: 32 kB / 0.7395 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.321/1.122, allocations: 31.43 MB / 0.7702 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.122, allocations: 7.188 kB / 0.7702 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02039/1.142, allocations: 8.402 MB / 0.7784 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/1.144, allocations: 0.6156 MB / 0.779 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000665/1.145, allocations: 31.69 kB / 0.7791 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/1.146, allocations: 93.23 kB / 0.7792 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009595/1.147, allocations: 167.6 kB / 0.7793 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/1.148, allocations: 46.38 kB / 0.7794 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001242/1.149, allocations: 0.7337 MB / 0.7801 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.149, allocations: 0 / 0.7801 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004121/1.153, allocations: 1.011 MB / 0.7811 GB, free: 151 MB / 0.5762 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%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003962/1.153, allocations: 141.3 kB / 0.7812 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008681/1.162, allocations: 5.857 MB / 0.7869 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.162, allocations: 0 / 0.7869 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007404/1.17, allocations: 3.806 MB / 0.7906 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/1.172, allocations: 227.9 kB / 0.7909 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008133/1.181, allocations: 6.1 MB / 0.7968 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/1.182, allocations: 1.89 MB / 0.7987 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/1.183, allocations: 71.42 kB / 0.7987 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/1.183, allocations: 0 / 0.7987 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.06401/1.247, allocations: 68.77 MB / 0.8659 GB, free: 69.95 MB / 0.5762 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)