Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008854/0.0008855, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.00768/0.00768, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.586/1.586, allocations: 205.4 MB / 222.5 MB, free: 5.785 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.79/1.79, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006464/0.0006462, allocations: 15.12 kB / 0.6743 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2862, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01124/0.2975, allocations: 9.607 MB / 0.7973 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006071/0.3036, allocations: 3.175 MB / 0.8004 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008962/0.3046, allocations: 27.88 kB / 0.8004 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005836/0.3052, allocations: 186.6 kB / 0.8006 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.3071, allocations: 0.712 MB / 0.8013 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.3089, allocations: 0.6348 MB / 0.8019 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005487/0.3144, allocations: 4.482 MB / 0.8063 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005401/0.3198, allocations: 3.155 MB / 0.8093 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.3221, allocations: 0.9379 MB / 0.8103 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.3246, allocations: 1.456 MB / 0.8117 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003762/0.325, allocations: 116 kB / 0.8118 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.3262, allocations: 459.2 kB / 0.8122 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.3273, allocations: 0.9276 MB / 0.8131 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.3285, allocations: 0.9657 MB / 0.8141 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.3327, allocations: 3.524 MB / 0.8175 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.3328, allocations: 0 / 0.8175 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3328, allocations: 0 / 0.8175 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.041e-05/0.3329, allocations: 0 / 0.8175 GB, free: 13.05 MB / 0.6387 GB 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.004227/0.3371, allocations: 1.768 MB / 0.8192 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/0.3372, allocations: 12.03 kB / 0.8193 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009244/0.3464, allocations: 1.317 MB / 0.8205 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.3494, allocations: 1.255 MB / 0.8218 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.3495, allocations: 115.4 kB / 0.8219 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004356/0.3499, allocations: 148.3 kB / 0.822 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006208/0.3562, allocations: 3.437 MB / 0.8254 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/0.3562, allocations: 3.938 kB / 0.8254 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.3565, allocations: 63.97 kB / 0.8254 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002887/0.3568, allocations: 207.1 kB / 0.8256 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005704/0.3625, allocations: 3.124 MB / 0.8287 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02093/0.3834, allocations: 13.6 MB / 0.842 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/0.3863, allocations: 1.724 MB / 0.8437 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002252/0.3886, allocations: 1.429 MB / 0.8451 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.3887, allocations: 20.98 kB / 0.8451 GB, free: 15.73 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.3888, allocations: 43.56 kB / 0.8451 GB, free: 15.68 MB / 0.67 GB Notification: Performance of pre-optimization done (n=104): time 3.827e-06/0.3888, allocations: 0 / 0.8451 GB, free: 15.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=183): time 0.1548/0.5436, allocations: 35.96 MB / 0.8802 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.5438, allocations: 73.41 kB / 0.8803 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.546, allocations: 1.05 MB / 0.8813 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0005563/0.5466, allocations: 53.7 kB / 0.8814 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007495/0.5473, allocations: 0.7834 MB / 0.8821 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001143/0.5485, allocations: 0.6277 MB / 0.8828 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006752/0.5492, allocations: 165.6 kB / 0.8829 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5493, allocations: 301.1 kB / 0.8832 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003337/0.5527, allocations: 1.932 MB / 0.8851 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003805/0.5565, allocations: 2.281 MB / 0.8873 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006988/0.5635, allocations: 4.392 MB / 0.8916 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/0.5636, allocations: 4 kB / 0.8916 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02282/0.5864, allocations: 9.019 MB / 0.9004 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.5865, allocations: 15.94 kB / 0.9004 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.5865, allocations: 8 kB / 0.9004 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01832/0.6049, allocations: 4.97 MB / 0.9053 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.6059, allocations: 199.6 kB / 0.9055 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5877/1.194, allocations: 35.13 MB / 0.9398 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/1.196, allocations: 103.4 kB / 0.9399 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/1.196, allocations: 68.11 kB / 0.94 GB, free: 118.1 MB / 0.7325 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.002037/1.198, allocations: 0.8029 MB / 0.9407 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004804/1.199, allocations: 141.9 kB / 0.9409 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02293/1.222, allocations: 8.9 MB / 0.9496 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/1.222, allocations: 18.47 kB / 0.9496 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001232/1.222, allocations: 28.78 kB / 0.9496 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.574e-05/1.222, allocations: 15.28 kB / 0.9496 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03002/1.252, allocations: 13.27 MB / 0.9626 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.984e-05/1.252, allocations: 3.938 kB / 0.9626 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/1.253, allocations: 122.7 kB / 0.9627 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01622/1.269, allocations: 4.764 MB / 0.9674 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004535/1.27, allocations: 31.66 kB / 0.9674 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04371/1.313, allocations: 31.46 MB / 0.9981 GB, free: 79.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.313, allocations: 7.938 kB / 0.9981 GB, free: 79.08 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.331, allocations: 8.396 MB / 1.006 GB, free: 70.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.333, allocations: 0.6124 MB / 1.007 GB, free: 69.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/1.333, allocations: 36 kB / 1.007 GB, free: 69.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.335, allocations: 97.75 kB / 1.007 GB, free: 69.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009417/1.335, allocations: 161.7 kB / 1.007 GB, free: 69.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.336, allocations: 44 kB / 1.007 GB, free: 69.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000927/1.337, allocations: 0.7382 MB / 1.008 GB, free: 68.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.337, allocations: 3.938 kB / 1.008 GB, free: 68.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003496/1.34, allocations: 1.004 MB / 1.009 GB, free: 67.88 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 (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.0003253/1.34, allocations: 144.8 kB / 1.009 GB, free: 67.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009084/1.349, allocations: 5.835 MB / 1.015 GB, free: 61.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.35, allocations: 0 / 1.015 GB, free: 61.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007691/1.357, allocations: 3.801 MB / 1.018 GB, free: 58.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/1.36, allocations: 232.5 kB / 1.019 GB, free: 57.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008981/1.369, allocations: 5.811 MB / 1.024 GB, free: 51.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/1.371, allocations: 1.859 MB / 1.026 GB, free: 50.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001037/1.372, allocations: 359.6 kB / 1.027 GB, free: 49.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/1.373, allocations: 63.42 kB / 1.027 GB, free: 49.64 MB / 0.7325 GB Notification: Performance of SimCode: time 1.713e-06/1.373, allocations: 0 / 1.027 GB, free: 49.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.07743/1.45, allocations: 55.46 MB / 1.081 GB, free: 10.33 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) Environment - environmentSimulation: