Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01009/0.01009, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001494/0.001494, allocations: 191.2 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 71.89 kB / 0.7258 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7698/0.7714, allocations: 104.7 MB / 0.8281 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03095/0.8024, allocations: 26.58 MB / 0.854 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.8192, allocations: 8.122 MB / 0.8619 GB, free: 15.81 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004073/0.8233, allocations: 115.4 kB / 0.8621 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007869/0.8313, allocations: 2.761 MB / 0.8648 GB, free: 12.93 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005714/0.837, allocations: 1.664 MB / 0.8664 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005209/0.8422, allocations: 1.678 MB / 0.868 GB, free: 9.578 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009411/0.8517, allocations: 6.154 MB / 0.874 GB, free: 3.402 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.8636, allocations: 7.311 MB / 0.8812 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005617/0.8693, allocations: 2.617 MB / 0.8837 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006358/0.8757, allocations: 2.839 MB / 0.8865 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002154/0.8779, allocations: 0.5078 MB / 0.887 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004551/0.8824, allocations: 1.287 MB / 0.8882 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003859/0.8863, allocations: 2.051 MB / 0.8902 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006375/0.8927, allocations: 2.381 MB / 0.8926 GB, free: 280 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01353/0.9063, allocations: 8.061 MB / 0.9004 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.9063, allocations: 0 / 0.9004 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9064, allocations: 0 / 0.9004 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002785/0.9066, allocations: 0 / 0.9004 GB, free: 8.191 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01245/0.9191, allocations: 4.232 MB / 0.9046 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.9192, allocations: 12.03 kB / 0.9046 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004956/0.9241, allocations: 0.7961 MB / 0.9054 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00529/0.9294, allocations: 2.581 MB / 0.9079 GB, free: 456 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.9298, allocations: 267.7 kB / 0.9081 GB, free: 188 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/0.9312, allocations: 376.5 kB / 0.9085 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/0.9456, allocations: 5.988 MB / 0.9144 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001924/0.9459, allocations: 19.88 kB / 0.9144 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009208/0.9468, allocations: 160 kB / 0.9145 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000643/0.9475, allocations: 278.9 kB / 0.9148 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009505/0.957, allocations: 4.52 MB / 0.9192 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03549/0.9925, allocations: 27.47 MB / 0.946 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.9943, allocations: 1.123 MB / 0.9471 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.9957, allocations: 1.015 MB / 0.9481 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.669e-05/0.9958, allocations: 9 kB / 0.9481 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.9959, allocations: 47.56 kB / 0.9482 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=110): time 2.735e-06/0.9959, allocations: 0 / 0.9482 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=131): time 0.02293/1.019, allocations: 9.662 MB / 0.9576 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/1.019, allocations: 72.66 kB / 0.9577 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002839/1.022, allocations: 1.494 MB / 0.9591 GB, free: 8.949 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/1.022, allocations: 49.7 kB / 0.9592 GB, free: 8.895 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001259/1.023, allocations: 1.659 MB / 0.9608 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/1.024, allocations: 473.2 kB / 0.9613 GB, free: 6.746 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005615/1.024, allocations: 331.2 kB / 0.9616 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.024, allocations: 305.1 kB / 0.9619 GB, free: 6.117 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/1.026, allocations: 0.9174 MB / 0.9628 GB, free: 5.199 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/1.028, allocations: 1.471 MB / 0.9642 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/1.031, allocations: 2.542 MB / 0.9667 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/1.031, allocations: 8 kB / 0.9667 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006562/1.038, allocations: 3.286 MB / 0.9699 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/1.038, allocations: 15.94 kB / 0.9699 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.989e-05/1.038, allocations: 20 kB / 0.9699 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002439/1.04, allocations: 0.7337 MB / 0.9706 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/1.042, allocations: 387.3 kB / 0.971 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/1.059, allocations: 17.04 MB / 0.9877 GB, free: 9.887 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.061, allocations: 99.91 kB / 0.9877 GB, free: 9.789 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003852/1.062, allocations: 84.05 kB / 0.9878 GB, free: 9.707 MB / 0.795 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002977/1.065, allocations: 1.311 MB / 0.9891 GB, free: 8.387 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006666/1.065, allocations: 197.7 kB / 0.9893 GB, free: 8.191 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005648/1.071, allocations: 2.792 MB / 0.992 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/1.071, allocations: 12 kB / 0.992 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/1.071, allocations: 8 kB / 0.992 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/1.071, allocations: 3.984 kB / 0.992 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/1.084, allocations: 6.221 MB / 0.9981 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/1.084, allocations: 8 kB / 0.9981 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.085, allocations: 231.7 kB / 0.9984 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/1.087, allocations: 0.675 MB / 0.999 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/1.087, allocations: 32 kB / 0.999 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02662/1.114, allocations: 16.79 MB / 1.015 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.296e-05/1.114, allocations: 7.938 kB / 1.015 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/1.124, allocations: 4.004 MB / 1.019 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/1.126, allocations: 446.7 kB / 1.02 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008164/1.127, allocations: 39.92 kB / 1.02 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/1.129, allocations: 83.89 kB / 1.02 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005705/1.13, allocations: 112.7 kB / 1.02 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.13, allocations: 39.98 kB / 1.02 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003048/1.133, allocations: 0.9981 MB / 1.021 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.81e-07/1.133, allocations: 0 / 1.021 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00485/1.138, allocations: 0.6875 MB / 1.022 GB, free: 5.41 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004865/1.138, allocations: 155 kB / 1.022 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.148, allocations: 3.523 MB / 1.025 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.149, allocations: 0 / 1.025 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006589/1.155, allocations: 2.295 MB / 1.028 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007168/1.162, allocations: 0.6758 MB / 1.028 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02451/1.187, allocations: 6.44 MB / 1.034 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006748/1.194, allocations: 2.668 MB / 1.037 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003683/1.197, allocations: 481.4 kB / 1.038 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008665/1.198, allocations: 119.4 kB / 1.038 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of SimCode: time 2.655e-06/1.198, allocations: 4 kB / 1.038 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of Templates: time 0.116/1.314, allocations: 34.14 MB / 1.071 GB, free: 3.102 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)