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.001034/0.001034, allocations: 102.2 kB / 16.35 MB, free: 5.895 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.00104/0.00104, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 288 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9121/0.9121, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 95.36 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1649, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.2979/0.4628, allocations: 10.07 MB / 0.6914 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005293/0.4682, allocations: 3.176 MB / 0.6945 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006887/0.4689, allocations: 33.47 kB / 0.6946 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.4705, allocations: 0.5893 MB / 0.6952 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.4722, allocations: 0.7346 MB / 0.6959 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.4741, allocations: 0.7518 MB / 0.6966 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003393/0.4775, allocations: 2.99 MB / 0.6995 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003229/0.4808, allocations: 2.594 MB / 0.7021 GB, free: 9.934 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.4834, allocations: 1.252 MB / 0.7033 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.4857, allocations: 1.561 MB / 0.7048 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003982/0.4861, allocations: 234.9 kB / 0.705 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.4874, allocations: 0.4953 MB / 0.7055 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.4888, allocations: 1.074 MB / 0.7066 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.4901, allocations: 1.124 MB / 0.7077 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004588/0.4947, allocations: 3.679 MB / 0.7112 GB, free: 6.449 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4947, allocations: 1.375 kB / 0.7112 GB, free: 6.449 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4947, allocations: 0 / 0.7112 GB, free: 6.449 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.185e-05/0.4948, allocations: 0 / 0.7112 GB, free: 6.449 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.004322/0.4992, allocations: 2.142 MB / 0.7133 GB, free: 5.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4992, allocations: 13.22 kB / 0.7134 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008026/0.5072, allocations: 1.314 MB / 0.7146 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.5099, allocations: 1.303 MB / 0.7159 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.51, allocations: 119.7 kB / 0.716 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.5103, allocations: 145.5 kB / 0.7162 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004547/0.5148, allocations: 3.432 MB / 0.7195 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.5149, allocations: 9.453 kB / 0.7195 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.5151, allocations: 63.03 kB / 0.7196 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002383/0.5153, allocations: 204.8 kB / 0.7198 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004212/0.5195, allocations: 3.127 MB / 0.7228 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.5359, allocations: 13.54 MB / 0.7361 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.5381, allocations: 1.742 MB / 0.7378 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.5399, allocations: 1.442 MB / 0.7392 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.376e-05/0.54, allocations: 13 kB / 0.7392 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.5401, allocations: 43.56 kB / 0.7392 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=104): time 2.845e-06/0.5401, allocations: 0 / 0.7392 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=183): time 0.1278/0.6679, allocations: 36.67 MB / 0.775 GB, free: 14.83 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.668, allocations: 73.39 kB / 0.7751 GB, free: 14.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.6694, allocations: 1.057 MB / 0.7761 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001564/0.6696, allocations: 53.7 kB / 0.7762 GB, free: 13.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.67, allocations: 0.7836 MB / 0.7769 GB, free: 12.81 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005147/0.6706, allocations: 0.6238 MB / 0.7776 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007223/0.6713, allocations: 363.4 kB / 0.7779 GB, free: 11.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.6714, allocations: 305.1 kB / 0.7782 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/0.6739, allocations: 1.928 MB / 0.7801 GB, free: 9.586 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002718/0.6766, allocations: 2.296 MB / 0.7823 GB, free: 7.164 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00545/0.6821, allocations: 4.395 MB / 0.7866 GB, free: 2.645 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.6821, allocations: 0 / 0.7866 GB, free: 2.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01832/0.7004, allocations: 9.024 MB / 0.7954 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.7005, allocations: 16.03 kB / 0.7954 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.7005, allocations: 8 kB / 0.7954 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01541/0.7159, allocations: 4.976 MB / 0.8003 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008164/0.7168, allocations: 195.6 kB / 0.8005 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05182/0.7686, allocations: 38.89 MB / 0.8385 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.7707, allocations: 99.89 kB / 0.8386 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/0.7709, allocations: 71.98 kB / 0.8386 GB, free: 12.74 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.001355/0.7722, allocations: 0.8056 MB / 0.8394 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/0.7725, allocations: 142.4 kB / 0.8396 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01807/0.7906, allocations: 8.886 MB / 0.8482 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.7907, allocations: 20 kB / 0.8482 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.802e-05/0.7908, allocations: 32 kB / 0.8483 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.618e-05/0.7908, allocations: 7.969 kB / 0.8483 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0259/0.8167, allocations: 13.27 MB / 0.8612 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.703e-05/0.8168, allocations: 4 kB / 0.8612 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.8173, allocations: 119.8 kB / 0.8614 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01557/0.8329, allocations: 4.77 MB / 0.866 GB, free: 488 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/0.8332, allocations: 36 kB / 0.8661 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04905/0.8823, allocations: 34.82 MB / 0.9001 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/0.8823, allocations: 11.92 kB / 0.9001 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/0.9003, allocations: 8.401 MB / 0.9083 GB, free: 4.547 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/0.9022, allocations: 0.6163 MB / 0.9089 GB, free: 3.91 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/0.9025, allocations: 35.94 kB / 0.9089 GB, free: 3.875 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.9037, allocations: 91.89 kB / 0.909 GB, free: 3.785 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000819/0.9045, allocations: 157.7 kB / 0.9091 GB, free: 3.629 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.9047, allocations: 47.98 kB / 0.9092 GB, free: 3.582 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001024/0.9057, allocations: 0.7421 MB / 0.9099 GB, free: 2.828 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.593e-06/0.9057, allocations: 0 / 0.9099 GB, free: 2.828 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003262/0.909, allocations: 1.008 MB / 0.9109 GB, free: 1.82 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.0002898/0.9093, allocations: 139.7 kB / 0.911 GB, free: 1.676 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009102/0.9184, allocations: 5.885 MB / 0.9168 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.9184, allocations: 0 / 0.9168 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.007026/0.9254, allocations: 3.828 MB / 0.9205 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.927, allocations: 237.5 kB / 0.9207 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00787/0.9349, allocations: 4.951 MB / 0.9256 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/0.9366, allocations: 1.859 MB / 0.9274 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007627/0.9373, allocations: 359.4 kB / 0.9277 GB, free: 388 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.9375, allocations: 67.42 kB / 0.9278 GB, free: 324 kB / 0.6856 GB Notification: Performance of SimCode: time 9.92e-07/0.9375, allocations: 0 / 0.9278 GB, free: 324 kB / 0.6856 GB Notification: Performance of Templates: time 0.3962/1.334, allocations: 59.13 MB / 0.9855 GB, free: 227.2 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)