Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.001221/0.001221, allocations: 104.5 kB / 16.4 MB, free: 5.941 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.001298/0.001298, allocations: 185.7 kB / 17.33 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6546/0.6546, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 62.83 kB / 0.5572 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1231, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0376/0.1608, allocations: 37.93 MB / 0.6687 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.1773, allocations: 11 MB / 0.6794 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.18, allocations: 155.3 kB / 0.6795 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009634/0.1897, allocations: 4.366 MB / 0.6838 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00581/0.1955, allocations: 2.336 MB / 0.6861 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004766/0.2003, allocations: 2.166 MB / 0.6882 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00998/0.2103, allocations: 9.307 MB / 0.6973 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/0.2227, allocations: 11.26 MB / 0.7083 GB, free: 6.062 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005548/0.2283, allocations: 4.051 MB / 0.7122 GB, free: 2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006121/0.2344, allocations: 4.51 MB / 0.7166 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.2356, allocations: 0.8242 MB / 0.7174 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.2386, allocations: 1.592 MB / 0.719 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003171/0.2418, allocations: 3.15 MB / 0.7221 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004819/0.2466, allocations: 3.653 MB / 0.7256 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.2574, allocations: 12.31 MB / 0.7377 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2574, allocations: 4 kB / 0.7377 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2574, allocations: 0 / 0.7377 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002398/0.2577, allocations: 0 / 0.7377 GB, free: 7.883 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01078/0.2685, allocations: 6.322 MB / 0.7438 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.2685, allocations: 8.031 kB / 0.7439 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009746/0.2695, allocations: 0.8294 MB / 0.7447 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2624/0.5319, allocations: 1.057 MB / 0.7457 GB, free: 98.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007359/0.5393, allocations: 3.609 MB / 0.7492 GB, free: 97.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003177/0.5396, allocations: 422.3 kB / 0.7496 GB, free: 97.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/0.541, allocations: 0.5465 MB / 0.7502 GB, free: 97.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.5583, allocations: 9.377 MB / 0.7593 GB, free: 93.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/0.5584, allocations: 23.62 kB / 0.7593 GB, free: 93.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005884/0.559, allocations: 251.7 kB / 0.7596 GB, free: 93.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005774/0.5596, allocations: 423.9 kB / 0.76 GB, free: 93.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/0.5722, allocations: 7.125 MB / 0.7669 GB, free: 89.87 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0281/0.6003, allocations: 41 MB / 0.807 GB, free: 49.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/0.6035, allocations: 3.106 MB / 0.81 GB, free: 45.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002035/0.6056, allocations: 2.145 MB / 0.8121 GB, free: 43.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.6057, allocations: 25.67 kB / 0.8121 GB, free: 43.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.6057, allocations: 64.56 kB / 0.8122 GB, free: 43.72 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 3.055e-06/0.6057, allocations: 0 / 0.8122 GB, free: 43.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.01843/0.6241, allocations: 10.55 MB / 0.8225 GB, free: 33.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.6242, allocations: 81.34 kB / 0.8226 GB, free: 32.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.6262, allocations: 2.009 MB / 0.8245 GB, free: 30.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.6263, allocations: 61.7 kB / 0.8246 GB, free: 30.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008249/0.6272, allocations: 2.403 MB / 0.8269 GB, free: 28.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/0.6275, allocations: 0.7311 MB / 0.8277 GB, free: 27.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005797/0.6281, allocations: 481.2 kB / 0.8281 GB, free: 27.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.6282, allocations: 301.1 kB / 0.8284 GB, free: 26.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.6297, allocations: 1.376 MB / 0.8297 GB, free: 25.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.6314, allocations: 2.1 MB / 0.8318 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003335/0.6347, allocations: 3.77 MB / 0.8355 GB, free: 19.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.6348, allocations: 8 kB / 0.8355 GB, free: 19.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005961/0.6407, allocations: 5.064 MB / 0.8404 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.6408, allocations: 12 kB / 0.8404 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.6408, allocations: 24 kB / 0.8405 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/0.6436, allocations: 1.597 MB / 0.842 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.6449, allocations: 457.1 kB / 0.8425 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/0.6626, allocations: 18.57 MB / 0.8606 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.6647, allocations: 143.9 kB / 0.8607 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/0.6649, allocations: 116 kB / 0.8609 GB, free: 8.527 MB / 0.5919 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002783/0.6677, allocations: 1.933 MB / 0.8627 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/0.6681, allocations: 284.7 kB / 0.863 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006526/0.6747, allocations: 4.462 MB / 0.8674 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.6747, allocations: 20 kB / 0.8674 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.6747, allocations: 16 kB / 0.8674 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.6747, allocations: 7.969 kB / 0.8674 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.688, allocations: 9.667 MB / 0.8769 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.6881, allocations: 4 kB / 0.8769 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008942/0.689, allocations: 239.5 kB / 0.8771 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003008/0.692, allocations: 1.419 MB / 0.8785 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.6921, allocations: 44 kB / 0.8785 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/0.7125, allocations: 18.56 MB / 0.8966 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.7125, allocations: 7.938 kB / 0.8966 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006506/0.719, allocations: 4.546 MB / 0.9011 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.7202, allocations: 0.638 MB / 0.9017 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.7204, allocations: 40 kB / 0.9017 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.7215, allocations: 119.8 kB / 0.9019 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004057/0.7219, allocations: 181.6 kB / 0.902 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.7221, allocations: 64 kB / 0.9021 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00158/0.7237, allocations: 1.315 MB / 0.9034 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7237, allocations: 0 / 0.9034 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002651/0.7263, allocations: 1.141 MB / 0.9045 GB, free: 11.01 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006443/0.7328, allocations: 5.163 MB / 0.9095 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006775/0.7396, allocations: 4.701 MB / 0.9141 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.7396, allocations: 4 kB / 0.9141 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004134/0.7437, allocations: 2.911 MB / 0.917 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/0.747, allocations: 0.893 MB / 0.9178 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04108/0.7881, allocations: 30.39 MB / 0.9475 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003783/0.7919, allocations: 3.698 MB / 0.9511 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001691/0.7936, allocations: 0.5518 MB / 0.9517 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/0.7956, allocations: 1.944 MB / 0.9536 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of SimCode: time 7.11e-07/0.7956, allocations: 0 / 0.9536 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.405/1.201, allocations: 85.24 MB / 1.037 GB, free: 245.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.46, allocations: 9.531 kB / 1.037 GB, free: 245.7 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)