Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001105/0.001105, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.274/1.274, allocations: 205.1 MB / 222 MB, free: 4.762 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.616/1.616, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001364/0.001364, allocations: 67.3 kB / 0.6709 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1827, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03469/0.2175, allocations: 37.2 MB / 0.8191 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.2373, allocations: 13.02 MB / 0.8319 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004723/0.2421, allocations: 155.1 kB / 0.832 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008588/0.2507, allocations: 3.599 MB / 0.8355 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006598/0.2574, allocations: 2.356 MB / 0.8378 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006138/0.2635, allocations: 2.478 MB / 0.8402 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01307/0.2766, allocations: 13.36 MB / 0.8533 GB, free: 5.504 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01561/0.2923, allocations: 11.68 MB / 0.8647 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005876/0.2982, allocations: 3.409 MB / 0.868 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008894/0.3071, allocations: 4.443 MB / 0.8724 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002213/0.3094, allocations: 0.4922 MB / 0.8728 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005473/0.3149, allocations: 1.817 MB / 0.8746 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.004754/0.3196, allocations: 2.759 MB / 0.8773 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.006635/0.3263, allocations: 3.266 MB / 0.8805 GB, free: 9.453 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.3388, allocations: 11.66 MB / 0.8919 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3388, allocations: 4 kB / 0.8919 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3388, allocations: 0 / 0.8919 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003068/0.3391, allocations: 0 / 0.8919 GB, free: 13.75 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01544/0.3546, allocations: 6.354 MB / 0.8981 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3546, allocations: 8.031 kB / 0.8981 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001742/0.3564, allocations: 0.7557 MB / 0.8988 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008941/0.3653, allocations: 1.309 MB / 0.9001 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006892/0.3723, allocations: 3.56 MB / 0.9036 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.3726, allocations: 378.5 kB / 0.904 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/0.374, allocations: 0.5001 MB / 0.9044 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.3884, allocations: 8.894 MB / 0.9131 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.3886, allocations: 23.77 kB / 0.9132 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006291/0.3892, allocations: 220 kB / 0.9134 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001953/0.3912, allocations: 0.6343 MB / 0.914 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3339/0.725, allocations: 7.008 MB / 0.9208 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0461/0.7712, allocations: 40.33 MB / 0.9602 GB, free: 91.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004483/0.7757, allocations: 2.9 MB / 0.963 GB, free: 90.65 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003422/0.7791, allocations: 2.662 MB / 0.9656 GB, free: 89.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.7794, allocations: 27.47 kB / 0.9657 GB, free: 89.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.7794, allocations: 67.5 kB / 0.9657 GB, free: 89.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=265): time 5.109e-06/0.7795, allocations: 0.9688 kB / 0.9657 GB, free: 89.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424): time 0.2756/1.055, allocations: 74.66 MB / 1.039 GB, free: 27.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/1.055, allocations: 94.73 kB / 1.039 GB, free: 27.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002985/1.058, allocations: 2.359 MB / 1.041 GB, free: 25.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006043/1.059, allocations: 97.7 kB / 1.041 GB, free: 25.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009742/1.06, allocations: 2.332 MB / 1.043 GB, free: 22.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/1.061, allocations: 1.441 MB / 1.045 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001846/1.063, allocations: 0.7215 MB / 1.046 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.729e-05/1.063, allocations: 305.1 kB / 1.046 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00381/1.067, allocations: 3.001 MB / 1.049 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004243/1.071, allocations: 3.835 MB / 1.052 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008109/1.079, allocations: 7.387 MB / 1.06 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-05/1.079, allocations: 8 kB / 1.06 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02711/1.106, allocations: 12.56 MB / 1.072 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/1.106, allocations: 16.94 kB / 1.072 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/1.106, allocations: 24 kB / 1.072 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02355/1.13, allocations: 6.03 MB / 1.078 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/1.132, allocations: 495.2 kB / 1.078 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07891/1.211, allocations: 67.17 MB / 1.144 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004033/1.215, allocations: 215.8 kB / 1.144 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000812/1.216, allocations: 161.6 kB / 1.144 GB, free: 11.56 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003548/1.22, allocations: 1.996 MB / 1.146 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008966/1.22, allocations: 387.4 kB / 1.147 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02778/1.248, allocations: 12.24 MB / 1.159 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/1.248, allocations: 44.14 kB / 1.159 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001416/1.248, allocations: 51.98 kB / 1.159 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.887e-05/1.249, allocations: 19.92 kB / 1.159 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04061/1.289, allocations: 19.13 MB / 1.177 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.945e-05/1.289, allocations: 8 kB / 1.177 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/1.291, allocations: 287.5 kB / 1.178 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02232/1.313, allocations: 5.582 MB / 1.183 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008326/1.314, allocations: 79.98 kB / 1.183 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07438/1.389, allocations: 64.78 MB / 1.246 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/1.389, allocations: 16 kB / 1.246 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03276/1.421, allocations: 15.62 MB / 1.262 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002565/1.424, allocations: 1.039 MB / 1.263 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007567/1.425, allocations: 87.92 kB / 1.263 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/1.427, allocations: 215.7 kB / 1.263 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001373/1.428, allocations: 406.2 kB / 1.263 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002757/1.429, allocations: 108 kB / 1.264 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00212/1.431, allocations: 1.553 MB / 1.265 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/1.431, allocations: 4 kB / 1.265 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.005396/1.436, allocations: 1.859 MB / 1.267 GB, free: 10.29 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.4249/1.861, allocations: 16.3 MB / 1.283 GB, free: 307.4 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02056/1.882, allocations: 12.16 MB / 1.295 GB, free: 304.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/1.882, allocations: 5.719 kB / 1.295 GB, free: 304.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01681/1.899, allocations: 8.358 MB / 1.303 GB, free: 301.5 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006798/1.905, allocations: 1.109 MB / 1.304 GB, free: 301.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1135/2.019, allocations: 62.7 MB / 1.365 GB, free: 265.4 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005102/2.024, allocations: 4.093 MB / 1.369 GB, free: 262.9 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002958/2.027, allocations: 0.6705 MB / 1.37 GB, free: 262.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002404/2.03, allocations: 2.128 MB / 1.372 GB, free: 260.2 MB / 0.9512 GB Notification: Performance of SimCode: time 1.082e-06/2.03, allocations: 0 / 1.372 GB, free: 260.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1757/2.205, allocations: 147.6 MB / 1.516 GB, free: 113.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001309/2.205, allocations: 254.5 kB / 1.516 GB, free: 113.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.934/7.139, allocations: 0 / 1.516 GB, free: 113.5 MB / 0.9512 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)