Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.707/2.707, allocations: 287.3 MB / 302.3 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 180.5 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 104.7 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005019, allocations: 21.36 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2391, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04023/0.2794, allocations: 28.77 MB / 1.006 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0333/0.3128, allocations: 13.82 MB / 1.02 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004169/0.317, allocations: 127.2 kB / 1.02 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004055/0.3211, allocations: 0.7064 MB / 1.021 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.3316, allocations: 2.26 MB / 1.023 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006989/0.3386, allocations: 1.412 MB / 1.024 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01191/0.3506, allocations: 4.542 MB / 1.029 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02555/0.3762, allocations: 9.84 MB / 1.038 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007477/0.3837, allocations: 2.609 MB / 1.041 GB, free: 12 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00643/0.3902, allocations: 2.413 MB / 1.043 GB, free: 9.578 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0019/0.3922, allocations: 296 kB / 1.044 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004282/0.3965, allocations: 0.6984 MB / 1.044 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004597/0.4012, allocations: 2.093 MB / 1.046 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003377/0.4046, allocations: 1.124 MB / 1.047 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01611/0.4207, allocations: 9.039 MB / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4208, allocations: 0 / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.785e-06/0.4208, allocations: 0 / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003769/0.4212, allocations: 0 / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01781/0.439, allocations: 4.853 MB / 1.061 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.4391, allocations: 8.031 kB / 1.061 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002946/0.4421, allocations: 0.7268 MB / 1.062 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.4524, allocations: 1.121 MB / 1.063 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01177/0.4642, allocations: 3.236 MB / 1.066 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006233/0.4649, allocations: 374 kB / 1.066 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002282/0.4672, allocations: 495.9 kB / 1.067 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6932/1.16, allocations: 7.922 MB / 1.074 GB, free: 76.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003457/1.161, allocations: 23.66 kB / 1.074 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001843/1.163, allocations: 215.8 kB / 1.075 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002256/1.165, allocations: 439.3 kB / 1.075 GB, free: 76.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/1.186, allocations: 6.049 MB / 1.081 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06064/1.247, allocations: 35.21 MB / 1.115 GB, free: 45.72 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004749/1.252, allocations: 2.008 MB / 1.117 GB, free: 44.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003519/1.252, allocations: 21.75 kB / 1.117 GB, free: 44.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.873e-05/1.252, allocations: 60.38 kB / 1.117 GB, free: 44.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=171): time 4.989e-06/1.252, allocations: 0 / 1.117 GB, free: 44.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=276): time 0.402/1.654, allocations: 38.98 MB / 1.155 GB, free: 17.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/1.655, allocations: 81.58 kB / 1.156 GB, free: 17.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009028/1.664, allocations: 2.254 MB / 1.158 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000885/1.665, allocations: 77.7 kB / 1.158 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002686/1.667, allocations: 2.276 MB / 1.16 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001951/1.669, allocations: 0.9338 MB / 1.161 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007015/1.67, allocations: 60 kB / 1.161 GB, free: 12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003498/1.671, allocations: 428 kB / 1.161 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007795/1.678, allocations: 1.958 MB / 1.163 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008626/1.687, allocations: 2.583 MB / 1.166 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00935/1.696, allocations: 2.372 MB / 1.168 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-05/1.697, allocations: 4 kB / 1.168 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.02862/1.725, allocations: 7.72 MB / 1.176 GB, free: 12.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.13e-05/1.725, allocations: 15.98 kB / 1.176 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.345e-05/1.725, allocations: 19.98 kB / 1.176 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01779/1.743, allocations: 3.21 MB / 1.179 GB, free: 9.344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/1.747, allocations: 404.2 kB / 1.179 GB, free: 8.949 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08151/1.828, allocations: 32.35 MB / 1.211 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/1.833, allocations: 167.8 kB / 1.211 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007892/1.834, allocations: 112 kB / 1.211 GB, free: 7.543 MB / 0.7292 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005845/1.84, allocations: 1.795 MB / 1.213 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/1.842, allocations: 332.1 kB / 1.213 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0308/1.872, allocations: 7.326 MB / 1.22 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.846e-05/1.873, allocations: 35.98 kB / 1.22 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001212/1.873, allocations: 28 kB / 1.22 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-05/1.873, allocations: 16.2 kB / 1.22 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0447/1.917, allocations: 12.91 MB / 1.233 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.065e-05/1.918, allocations: 12 kB / 1.233 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/1.92, allocations: 225.3 kB / 1.233 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01607/1.936, allocations: 2.851 MB / 1.236 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006141/1.936, allocations: 52 kB / 1.236 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07579/2.012, allocations: 31.18 MB / 1.267 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-05/2.012, allocations: 11.89 kB / 1.267 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02362/2.036, allocations: 7.413 MB / 1.274 GB, free: 5.875 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003171/2.039, allocations: 0.7821 MB / 1.275 GB, free: 5.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001384/2.041, allocations: 56 kB / 1.275 GB, free: 5.016 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004237/2.045, allocations: 163.8 kB / 1.275 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001785/2.047, allocations: 257.5 kB / 1.275 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004767/2.047, allocations: 76 kB / 1.275 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004048/2.051, allocations: 1.502 MB / 1.277 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.81e-07/2.051, allocations: 0 / 1.277 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.007129/2.058, allocations: 1.352 MB / 1.278 GB, free: 1.676 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02495/2.083, allocations: 9.66 MB / 1.287 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.03406/2.118, allocations: 6.917 MB / 1.294 GB, free: 0.6953 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.018e-05/2.118, allocations: 0 / 1.294 GB, free: 0.6953 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.02365/2.141, allocations: 4.411 MB / 1.298 GB, free: 12.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01163/2.153, allocations: 0.9899 MB / 1.299 GB, free: 11.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09853/2.252, allocations: 43.79 MB / 1.342 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007535/2.259, allocations: 3.741 MB / 1.346 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003708/2.263, allocations: 0.5556 MB / 1.346 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004474/2.267, allocations: 1.968 MB / 1.348 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of SimCode: time 1.773e-06/2.268, allocations: 0 / 1.348 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.045/3.312, allocations: 107.3 MB / 1.453 GB, free: 301.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/3.313, allocations: 219.8 kB / 1.453 GB, free: 301 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.157/9.47, allocations: 8.969 kB / 1.453 GB, free: 301 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)