Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.001339/0.001339, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001421/0.001422, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.894/1.894, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0006266/0.0006267, allocations: 12.94 kB / 0.6737 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2806, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04023/0.3209, allocations: 35.74 MB / 0.8221 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02994/0.3509, allocations: 14.53 MB / 0.8363 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007193/0.3582, allocations: 155 kB / 0.8365 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005863/0.3641, allocations: 0.8306 MB / 0.8373 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01426/0.3784, allocations: 2.111 MB / 0.8394 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009183/0.3877, allocations: 1.926 MB / 0.8412 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01318/0.4009, allocations: 5.725 MB / 0.8468 GB, free: 14.72 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02746/0.4284, allocations: 13.96 MB / 0.8605 GB, free: 0.668 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007534/0.436, allocations: 3.157 MB / 0.8635 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008162/0.4442, allocations: 3.309 MB / 0.8668 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003098/0.4473, allocations: 400 kB / 0.8672 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004989/0.4523, allocations: 0.7649 MB / 0.8679 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.006753/0.4591, allocations: 2.74 MB / 0.8706 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004468/0.4636, allocations: 1.389 MB / 0.8719 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.4802, allocations: 11.59 MB / 0.8833 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4803, allocations: 0 / 0.8833 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.757e-06/0.4803, allocations: 0 / 0.8833 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005339/0.4808, allocations: 0 / 0.8833 GB, free: 9.254 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01971/0.5005, allocations: 6.193 MB / 0.8893 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.5006, allocations: 12.03 kB / 0.8893 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003707/0.5043, allocations: 0.8954 MB / 0.8902 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.5155, allocations: 1.514 MB / 0.8917 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/0.5281, allocations: 4.089 MB / 0.8957 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005223/0.5287, allocations: 452.1 kB / 0.8961 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003322/0.532, allocations: 0.6013 MB / 0.8967 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02812/0.5602, allocations: 10.58 MB / 0.907 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002198/0.5605, allocations: 27.72 kB / 0.907 GB, free: 344 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/0.5617, allocations: 267.9 kB / 0.9073 GB, free: 76 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003113/0.5648, allocations: 0.7768 MB / 0.9081 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02148/0.5863, allocations: 8.51 MB / 0.9164 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7447/1.331, allocations: 46.99 MB / 0.9622 GB, free: 83.92 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008268/1.339, allocations: 4.3 MB / 0.9664 GB, free: 82.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006578/1.34, allocations: 41.28 kB / 0.9665 GB, free: 82.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.331e-05/1.34, allocations: 78.48 kB / 0.9666 GB, free: 81.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 7.043e-06/1.34, allocations: 0 / 0.9666 GB, free: 81.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.7308/2.071, allocations: 127.9 MB / 1.091 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/2.071, allocations: 111.9 kB / 1.092 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008498/2.08, allocations: 2.654 MB / 1.094 GB, free: 264 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.00182/2.082, allocations: 121.7 kB / 1.094 GB, free: 136 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.003545/2.085, allocations: 2.681 MB / 1.097 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004561/2.09, allocations: 1.949 MB / 1.099 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/2.091, allocations: 114.7 kB / 1.099 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0007285/2.092, allocations: 0.5294 MB / 1.099 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01278/2.105, allocations: 4.06 MB / 1.103 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01471/2.12, allocations: 4.972 MB / 1.108 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/2.136, allocations: 4.822 MB / 1.113 GB, free: 12.62 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.363e-05/2.136, allocations: 8 kB / 1.113 GB, free: 12.62 MB / 0.795 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.08127/2.217, allocations: 16.92 MB / 1.129 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.37e-05/2.217, allocations: 16 kB / 1.129 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.756e-05/2.217, allocations: 24 kB / 1.129 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0624/2.28, allocations: 9.049 MB / 1.138 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/2.285, allocations: 0.5226 MB / 1.139 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1768/2.462, allocations: 73.69 MB / 1.211 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0126/2.475, allocations: 279.8 kB / 1.211 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00176/2.476, allocations: 188 kB / 1.211 GB, free: 6.312 MB / 0.8887 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009922/2.486, allocations: 2.425 MB / 1.214 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002321/2.489, allocations: 474.5 kB / 1.214 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04801/2.537, allocations: 16.75 MB / 1.23 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.171e-05/2.537, allocations: 60 kB / 1.23 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002726/2.537, allocations: 71.95 kB / 1.231 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001481/2.537, allocations: 31.89 kB / 1.231 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0557/2.593, allocations: 25.61 MB / 1.256 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-05/2.593, allocations: 8 kB / 1.256 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/2.595, allocations: 319.5 kB / 1.256 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0286/2.624, allocations: 8.261 MB / 1.264 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/2.625, allocations: 104 kB / 1.264 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6528/3.278, allocations: 70.53 MB / 1.333 GB, free: 293.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/3.278, allocations: 11.88 kB / 1.333 GB, free: 293.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04321/3.321, allocations: 22.18 MB / 1.355 GB, free: 283.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004273/3.325, allocations: 1.36 MB / 1.356 GB, free: 282.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/3.327, allocations: 115.3 kB / 1.356 GB, free: 282.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004933/3.332, allocations: 282.9 kB / 1.356 GB, free: 281.9 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002282/3.334, allocations: 0.5285 MB / 1.357 GB, free: 281.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004507/3.334, allocations: 145.5 kB / 1.357 GB, free: 281.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002775/3.337, allocations: 1.748 MB / 1.359 GB, free: 280.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.71e-07/3.337, allocations: 0 / 1.359 GB, free: 280.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.009142/3.346, allocations: 2.461 MB / 1.361 GB, free: 279.6 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03781/3.384, allocations: 24.61 MB / 1.385 GB, free: 254.6 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02432/3.409, allocations: 14.48 MB / 1.399 GB, free: 239.9 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.5e-05/3.409, allocations: 5 kB / 1.399 GB, free: 239.9 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01921/3.428, allocations: 9.369 MB / 1.408 GB, free: 230.4 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00734/3.435, allocations: 1.192 MB / 1.41 GB, free: 229.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1062/3.542, allocations: 70.82 MB / 1.479 GB, free: 156.2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005733/3.547, allocations: 5.014 MB / 1.484 GB, free: 151.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002989/3.55, allocations: 0.737 MB / 1.484 GB, free: 150.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002559/3.553, allocations: 2.604 MB / 1.487 GB, free: 147.8 MB / 0.9512 GB Notification: Performance of SimCode: time 1.192e-06/3.553, allocations: 0 / 1.487 GB, free: 147.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.992/4.545, allocations: 185.8 MB / 1.668 GB, free: 302 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/4.545, allocations: 229.6 kB / 1.669 GB, free: 301.8 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/12.53, allocations: 4.5 kB / 1.669 GB, free: 301.8 MB / 0.9669 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) Environment - environmentSimulation: