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.001188/0.001188, allocations: 104 kB / 16.35 MB, free: 5.824 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.001169/0.001169, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 290.7 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9279/0.9279, allocations: 169.2 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 94.58 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1475, allocations: 86.98 MB / 0.6816 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.246/0.3935, allocations: 10.06 MB / 0.6914 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004398/0.398, allocations: 3.181 MB / 0.6945 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004226/0.3984, allocations: 38.81 kB / 0.6946 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.3998, allocations: 0.5808 MB / 0.6951 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.4011, allocations: 0.7323 MB / 0.6959 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.4027, allocations: 0.7563 MB / 0.6966 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003075/0.4058, allocations: 2.981 MB / 0.6995 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.4085, allocations: 2.606 MB / 0.7021 GB, free: 9.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.4104, allocations: 1.255 MB / 0.7033 GB, free: 9.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.4123, allocations: 1.553 MB / 0.7048 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003764/0.4127, allocations: 235.7 kB / 0.705 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.4138, allocations: 0.499 MB / 0.7055 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.4149, allocations: 1.079 MB / 0.7066 GB, free: 8.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.416, allocations: 1.11 MB / 0.7077 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003604/0.4196, allocations: 3.687 MB / 0.7113 GB, free: 6.445 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4197, allocations: 0 / 0.7113 GB, free: 6.445 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4197, allocations: 1.188 kB / 0.7113 GB, free: 6.445 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.19e-05/0.4197, allocations: 0 / 0.7113 GB, free: 6.445 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.003949/0.4237, allocations: 2.146 MB / 0.7133 GB, free: 5.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.4237, allocations: 8.688 kB / 0.7134 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008387/0.4321, allocations: 1.317 MB / 0.7146 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.4348, allocations: 1.305 MB / 0.7159 GB, free: 4.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.4349, allocations: 111.6 kB / 0.716 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.4352, allocations: 148.6 kB / 0.7162 GB, free: 3.988 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004619/0.4399, allocations: 3.432 MB / 0.7195 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/0.4399, allocations: 10.17 kB / 0.7195 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.4401, allocations: 62.66 kB / 0.7196 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002181/0.4404, allocations: 204.5 kB / 0.7198 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004261/0.4446, allocations: 3.123 MB / 0.7228 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01662/0.4613, allocations: 13.54 MB / 0.7361 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.4636, allocations: 1.738 MB / 0.7378 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.4655, allocations: 1.445 MB / 0.7392 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.817e-05/0.4656, allocations: 9 kB / 0.7392 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.4656, allocations: 43.56 kB / 0.7392 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=104): time 2.475e-06/0.4656, allocations: 0 / 0.7392 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=183): time 0.1323/0.5979, allocations: 36.67 MB / 0.775 GB, free: 14.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.598, allocations: 73.41 kB / 0.7751 GB, free: 14.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.5996, allocations: 1.057 MB / 0.7761 GB, free: 13.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002246/0.5998, allocations: 57.7 kB / 0.7762 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005881/0.6004, allocations: 0.7796 MB / 0.7769 GB, free: 12.76 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005997/0.601, allocations: 0.6238 MB / 0.7775 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008037/0.6018, allocations: 367.4 kB / 0.7779 GB, free: 11.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6019, allocations: 305.1 kB / 0.7782 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002543/0.6045, allocations: 1.928 MB / 0.7801 GB, free: 9.531 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/0.6072, allocations: 2.292 MB / 0.7823 GB, free: 7.113 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005431/0.6127, allocations: 4.394 MB / 0.7866 GB, free: 2.594 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.6127, allocations: 7.938 kB / 0.7866 GB, free: 2.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01884/0.6315, allocations: 9.015 MB / 0.7954 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.6316, allocations: 15.92 kB / 0.7954 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/0.6316, allocations: 16.03 kB / 0.7954 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01619/0.6478, allocations: 4.973 MB / 0.8003 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008776/0.6487, allocations: 191.7 kB / 0.8005 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05427/0.703, allocations: 38.89 MB / 0.8385 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.7049, allocations: 99.89 kB / 0.8386 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.7051, allocations: 68 kB / 0.8386 GB, free: 12.7 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.001321/0.7065, allocations: 0.8178 MB / 0.8394 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.7068, allocations: 138.4 kB / 0.8396 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/0.7251, allocations: 8.882 MB / 0.8482 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.7252, allocations: 24 kB / 0.8482 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.995e-05/0.7252, allocations: 28 kB / 0.8483 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.7252, allocations: 7.969 kB / 0.8483 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0257/0.7509, allocations: 13.27 MB / 0.8612 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.751, allocations: 4 kB / 0.8612 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004998/0.7515, allocations: 123.8 kB / 0.8614 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01551/0.767, allocations: 4.758 MB / 0.866 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003448/0.7674, allocations: 36 kB / 0.866 GB, free: 400 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0491/0.8165, allocations: 34.83 MB / 0.9001 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.8165, allocations: 4.156 kB / 0.9001 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/0.8349, allocations: 8.405 MB / 0.9083 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/0.8368, allocations: 0.6085 MB / 0.9089 GB, free: 3.863 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000382/0.8372, allocations: 47.92 kB / 0.9089 GB, free: 3.816 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.8384, allocations: 91.89 kB / 0.909 GB, free: 3.727 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000808/0.8393, allocations: 153.7 kB / 0.9091 GB, free: 3.574 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/0.8394, allocations: 48 kB / 0.9092 GB, free: 3.527 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000994/0.8404, allocations: 0.7421 MB / 0.9099 GB, free: 2.773 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8404, allocations: 4 kB / 0.9099 GB, free: 2.77 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003145/0.8436, allocations: 1.008 MB / 0.9109 GB, free: 1.762 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.0003157/0.8439, allocations: 139.7 kB / 0.911 GB, free: 1.617 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009433/0.8533, allocations: 5.88 MB / 0.9168 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.8534, allocations: 0 / 0.9168 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.007302/0.8607, allocations: 3.835 MB / 0.9205 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.8623, allocations: 241.1 kB / 0.9208 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008024/0.8703, allocations: 4.951 MB / 0.9256 GB, free: 2.574 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.8719, allocations: 1.851 MB / 0.9274 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008001/0.8728, allocations: 363.4 kB / 0.9277 GB, free: 332 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.8729, allocations: 67.42 kB / 0.9278 GB, free: 268 kB / 0.6856 GB Notification: Performance of SimCode: time 1.052e-06/0.8729, allocations: 0 / 0.9278 GB, free: 268 kB / 0.6856 GB Notification: Performance of Templates: time 0.3282/1.201, allocations: 59.14 MB / 0.9856 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)