Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 105.3 kB / 16.36 MB, free: 5.961 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.001754/0.001754, allocations: 191.1 kB / 17.3 MB, free: 5.57 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.46/1.46, allocations: 205.1 MB / 223.2 MB, free: 4.039 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.3 MB / 0.5496 GB, free: 12.77 MB / 462.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.002538/0.002538, allocations: 74.23 kB / 0.6729 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2704, allocations: 114.5 MB / 0.7848 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01183/0.2822, allocations: 10.02 MB / 0.7946 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005696/0.288, allocations: 3.089 MB / 0.7976 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008651/0.2889, allocations: 35.81 kB / 0.7976 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.2908, allocations: 0.6801 MB / 0.7983 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.2924, allocations: 0.6883 MB / 0.799 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.294, allocations: 0.6387 MB / 0.7996 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003083/0.2971, allocations: 2.742 MB / 0.8023 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002816/0.2999, allocations: 2.546 MB / 0.8048 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.3018, allocations: 1.133 MB / 0.8059 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.3038, allocations: 1.379 MB / 0.8072 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003459/0.3041, allocations: 216 kB / 0.8074 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.3052, allocations: 487.4 kB / 0.8079 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009382/0.3062, allocations: 0.9824 MB / 0.8088 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.3072, allocations: 1.015 MB / 0.8098 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.3103, allocations: 3.408 MB / 0.8132 GB, free: 15.6 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3103, allocations: 0 / 0.8132 GB, free: 15.6 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3103, allocations: 0 / 0.8132 GB, free: 15.6 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 5.087e-05/0.3103, allocations: 0 / 0.8132 GB, free: 15.6 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00346/0.3138, allocations: 1.947 MB / 0.8151 GB, free: 13.59 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3139, allocations: 11.97 kB / 0.8151 GB, free: 13.58 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005454/0.3193, allocations: 0.896 MB / 0.8159 GB, free: 12.68 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.3219, allocations: 1.11 MB / 0.817 GB, free: 11.53 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.763e-05/0.3221, allocations: 107.3 kB / 0.8171 GB, free: 11.43 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003593/0.3224, allocations: 148.3 kB / 0.8173 GB, free: 11.28 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004648/0.3271, allocations: 3.022 MB / 0.8202 GB, free: 8.16 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.3271, allocations: 7.906 kB / 0.8202 GB, free: 8.152 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.3273, allocations: 63.95 kB / 0.8203 GB, free: 8.09 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002142/0.3275, allocations: 178.9 kB / 0.8205 GB, free: 7.914 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003952/0.3315, allocations: 2.604 MB / 0.823 GB, free: 5.305 MB / 0.6388 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.3474, allocations: 13.49 MB / 0.8362 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.3492, allocations: 1.283 MB / 0.8374 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.3505, allocations: 1.054 MB / 0.8385 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.915e-05/0.3506, allocations: 8.656 kB / 0.8385 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.3506, allocations: 47.16 kB / 0.8385 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.3506, allocations: 4 kB / 0.8385 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.06698/0.4176, allocations: 19.38 MB / 0.8574 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.4177, allocations: 68.72 kB / 0.8575 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.419, allocations: 0.9183 MB / 0.8584 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002089/0.4192, allocations: 45.7 kB / 0.8584 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/0.4196, allocations: 0.7322 MB / 0.8592 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/0.4201, allocations: 485 kB / 0.8596 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005375/0.4206, allocations: 295.4 kB / 0.8599 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4208, allocations: 353.9 kB / 0.8602 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.4226, allocations: 1.335 MB / 0.8615 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.4247, allocations: 1.662 MB / 0.8632 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/0.4287, allocations: 3.089 MB / 0.8662 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.4287, allocations: 0 / 0.8662 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0118/0.4405, allocations: 5.644 MB / 0.8717 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.4406, allocations: 8 kB / 0.8717 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.4406, allocations: 11.94 kB / 0.8717 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0088/0.4494, allocations: 2.718 MB / 0.8744 GB, free: 15.09 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.4503, allocations: 191.6 kB / 0.8746 GB, free: 14.91 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05241/0.5028, allocations: 25.72 MB / 0.8997 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.5049, allocations: 95.94 kB / 0.8998 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.5052, allocations: 56 kB / 0.8998 GB, free: 4.473 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001696/0.5069, allocations: 0.7378 MB / 0.9005 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005283/0.5074, allocations: 114.6 kB / 0.9006 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.519, allocations: 5.392 MB / 0.9059 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.519, allocations: 12 kB / 0.9059 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.601e-05/0.5191, allocations: 23.94 kB / 0.9059 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.855e-05/0.5191, allocations: 7.969 kB / 0.906 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/0.5357, allocations: 8.622 MB / 0.9144 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.5357, allocations: 4 kB / 0.9144 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.5363, allocations: 115.8 kB / 0.9145 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008474/0.5448, allocations: 2.557 MB / 0.917 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/0.545, allocations: 28 kB / 0.917 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4424/0.9874, allocations: 22.97 MB / 0.9394 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.9874, allocations: 4.406 kB / 0.9395 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/0.9997, allocations: 5.132 MB / 0.9445 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/1.001, allocations: 477 kB / 0.9449 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/1.001, allocations: 26 kB / 0.9449 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008527/1.002, allocations: 78.08 kB / 0.945 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007289/1.003, allocations: 123.3 kB / 0.9451 GB, free: 118.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.003, allocations: 35.84 kB / 0.9452 GB, free: 118.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008154/1.004, allocations: 0.646 MB / 0.9458 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/1.004, allocations: 0 / 0.9458 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002637/1.006, allocations: 0.7205 MB / 0.9465 GB, free: 118.2 MB / 0.7325 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002646/1.007, allocations: 140.6 kB / 0.9466 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006931/1.014, allocations: 4.171 MB / 0.9507 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.014, allocations: 0 / 0.9507 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005448/1.019, allocations: 2.67 MB / 0.9533 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/1.021, allocations: 227.5 kB / 0.9535 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008009/1.029, allocations: 3.892 MB / 0.9573 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/1.031, allocations: 1.701 MB / 0.959 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000811/1.032, allocations: 330.3 kB / 0.9593 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/1.032, allocations: 54.69 kB / 0.9594 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.493e-06/1.032, allocations: 0 / 0.9594 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.04734/1.079, allocations: 38.99 MB / 0.9974 GB, free: 79.37 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)