Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001446/0.001446, allocations: 104.8 kB / 16.27 MB, free: 5.996 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.001779/0.00178, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002297/0.002297, allocations: 284.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9473/0.9473, allocations: 169.3 MB / 0.4988 GB, free: 4.512 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 102.4 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.144, allocations: 86.98 MB / 0.6808 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.249/0.393, allocations: 10.07 MB / 0.6907 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004474/0.3975, allocations: 3.163 MB / 0.6938 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004657/0.398, allocations: 38.03 kB / 0.6938 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.3995, allocations: 0.5999 MB / 0.6944 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.4008, allocations: 0.7411 MB / 0.6951 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.4024, allocations: 0.7453 MB / 0.6958 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003024/0.4055, allocations: 2.994 MB / 0.6988 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.4083, allocations: 2.613 MB / 0.7013 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.4102, allocations: 1.246 MB / 0.7025 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.4123, allocations: 1.56 MB / 0.7041 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004129/0.4127, allocations: 235.5 kB / 0.7043 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.4138, allocations: 0.496 MB / 0.7048 GB, free: 8.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.4149, allocations: 1.078 MB / 0.7058 GB, free: 8.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.4162, allocations: 1.108 MB / 0.7069 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003984/0.4202, allocations: 3.668 MB / 0.7105 GB, free: 6.621 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4202, allocations: 0 / 0.7105 GB, free: 6.621 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4202, allocations: 0 / 0.7105 GB, free: 6.621 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.177e-05/0.4203, allocations: 0 / 0.7105 GB, free: 6.621 MB / 494.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.004257/0.4245, allocations: 2.147 MB / 0.7126 GB, free: 5.328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.4246, allocations: 9.844 kB / 0.7126 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009291/0.4339, allocations: 1.314 MB / 0.7139 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/0.4363, allocations: 1.255 MB / 0.7151 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.207e-05/0.4364, allocations: 116.2 kB / 0.7152 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.4368, allocations: 156.9 kB / 0.7154 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004806/0.4416, allocations: 3.433 MB / 0.7187 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.4416, allocations: 5.125 kB / 0.7187 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.4419, allocations: 71.81 kB / 0.7188 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002369/0.4421, allocations: 200.8 kB / 0.719 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/0.4466, allocations: 3.127 MB / 0.722 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/0.4641, allocations: 13.62 MB / 0.7353 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.4665, allocations: 1.725 MB / 0.737 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/0.4684, allocations: 1.442 MB / 0.7384 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.192e-05/0.4685, allocations: 14.56 kB / 0.7384 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.4686, allocations: 43.69 kB / 0.7385 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=104): time 2.605e-06/0.4686, allocations: 0 / 0.7385 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=183): time 0.1554/0.624, allocations: 36.67 MB / 0.7743 GB, free: 15.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.6241, allocations: 69.41 kB / 0.7744 GB, free: 15.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.6256, allocations: 1.057 MB / 0.7754 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003619/0.626, allocations: 57.7 kB / 0.7754 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006163/0.6266, allocations: 0.7796 MB / 0.7762 GB, free: 13.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00068/0.6273, allocations: 0.6277 MB / 0.7768 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007497/0.6281, allocations: 363.4 kB / 0.7772 GB, free: 12.35 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.6282, allocations: 305.1 kB / 0.7775 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/0.6309, allocations: 1.928 MB / 0.7793 GB, free: 10.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002934/0.6338, allocations: 2.285 MB / 0.7816 GB, free: 7.707 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005998/0.6398, allocations: 4.391 MB / 0.7859 GB, free: 3.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.6398, allocations: 4 kB / 0.7859 GB, free: 3.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02078/0.6606, allocations: 9.017 MB / 0.7947 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.6607, allocations: 11.94 kB / 0.7947 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.6607, allocations: 12 kB / 0.7947 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01773/0.6785, allocations: 5.005 MB / 0.7996 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009516/0.6795, allocations: 199.7 kB / 0.7998 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05781/0.7373, allocations: 38.92 MB / 0.8378 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.7395, allocations: 95.89 kB / 0.8379 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/0.7397, allocations: 68 kB / 0.8379 GB, free: 13.24 MB / 0.6075 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.001341/0.7411, allocations: 0.8133 MB / 0.8387 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.7414, allocations: 138.3 kB / 0.8389 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02076/0.7622, allocations: 8.898 MB / 0.8475 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.7622, allocations: 16 kB / 0.8476 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.695e-05/0.7623, allocations: 28 kB / 0.8476 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/0.7623, allocations: 11.95 kB / 0.8476 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02765/0.79, allocations: 13.31 MB / 0.8606 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.79, allocations: 7.938 kB / 0.8606 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.7906, allocations: 119.8 kB / 0.8607 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01682/0.8074, allocations: 4.797 MB / 0.8654 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002846/0.8077, allocations: 32 kB / 0.8654 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0514/0.8591, allocations: 34.86 MB / 0.8995 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.8591, allocations: 8 kB / 0.8995 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/0.8786, allocations: 8.404 MB / 0.9077 GB, free: 4.93 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/0.88, allocations: 0.6163 MB / 0.9083 GB, free: 4.293 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/0.8803, allocations: 35.94 kB / 0.9083 GB, free: 4.258 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.8816, allocations: 95.88 kB / 0.9084 GB, free: 4.164 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007493/0.8824, allocations: 161.7 kB / 0.9086 GB, free: 4.008 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.8825, allocations: 44 kB / 0.9086 GB, free: 3.965 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001003/0.8835, allocations: 0.7382 MB / 0.9093 GB, free: 3.215 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8836, allocations: 0 / 0.9093 GB, free: 3.215 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002812/0.8864, allocations: 1.004 MB / 0.9103 GB, free: 2.211 MB / 0.67 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.0002853/0.8867, allocations: 144.8 kB / 0.9104 GB, free: 2.059 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01074/0.8974, allocations: 6.709 MB / 0.917 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8974, allocations: 0 / 0.917 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.007551/0.905, allocations: 3.835 MB / 0.9207 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.9065, allocations: 241.5 kB / 0.921 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008/0.9145, allocations: 5.26 MB / 0.9261 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.9162, allocations: 1.89 MB / 0.928 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.9165, allocations: 71.42 kB / 0.928 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of SimCode: time 5.61e-07/0.9165, allocations: 0 / 0.928 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of Templates: time 0.3082/1.225, allocations: 69.03 MB / 0.9954 GB, free: 224 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)