Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.0008023/0.0008026, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000858/0.0008581, allocations: 172.2 kB / 16.58 MB, free: 6.852 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.336/1.336, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6251/0.6251, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 12.59 kB / 493.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.2855/0.4353, allocations: 31.74 MB / 0.5879 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01603/0.4514, allocations: 10.92 MB / 0.5986 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003131/0.4546, allocations: 138.9 kB / 0.5987 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.4567, allocations: 0.68 MB / 0.5994 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004957/0.4617, allocations: 1.582 MB / 0.6009 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005041/0.4668, allocations: 1.435 MB / 0.6023 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01195/0.4787, allocations: 9.636 MB / 0.6117 GB, free: 9.617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02062/0.4994, allocations: 12.57 MB / 0.624 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005182/0.5046, allocations: 2.652 MB / 0.6266 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005442/0.5101, allocations: 3.477 MB / 0.63 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.5116, allocations: 328 kB / 0.6303 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/0.5159, allocations: 0.9715 MB / 0.6312 GB, free: 14.28 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003085/0.519, allocations: 2.451 MB / 0.6336 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.5205, allocations: 1.101 MB / 0.6347 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.5306, allocations: 9.937 MB / 0.6444 GB, free: 0.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5306, allocations: 0 / 0.6444 GB, free: 0.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5306, allocations: 0 / 0.6444 GB, free: 0.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002693/0.5309, allocations: 4 kB / 0.6444 GB, free: 0.7461 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.008461/0.5394, allocations: 4.711 MB / 0.649 GB, free: 11.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.5394, allocations: 8.031 kB / 0.649 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001223/0.5407, allocations: 0.8049 MB / 0.6498 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005211/0.5459, allocations: 1.059 MB / 0.6508 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00519/0.5511, allocations: 3.196 MB / 0.654 GB, free: 6.824 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002716/0.5514, allocations: 411.1 kB / 0.6544 GB, free: 6.422 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007622/0.5521, allocations: 0.5427 MB / 0.6549 GB, free: 5.879 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/0.5682, allocations: 9.04 MB / 0.6637 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.5683, allocations: 23.78 kB / 0.6637 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005277/0.5689, allocations: 240 kB / 0.664 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003532/0.5692, allocations: 350.8 kB / 0.6643 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.5814, allocations: 6.783 MB / 0.6709 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04386/0.6253, allocations: 40.16 MB / 0.7102 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003923/0.6293, allocations: 3.1 MB / 0.7132 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002823/0.6322, allocations: 1.962 MB / 0.7151 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.6323, allocations: 25.98 kB / 0.7151 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.6324, allocations: 52.56 kB / 0.7152 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=179): time 4.008e-06/0.6324, allocations: 0 / 0.7152 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.02255/0.6549, allocations: 9.869 MB / 0.7248 GB, free: 9.988 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.655, allocations: 73.41 kB / 0.7249 GB, free: 9.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.6573, allocations: 1.507 MB / 0.7264 GB, free: 8.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.6574, allocations: 57.7 kB / 0.7264 GB, free: 8.289 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001579/0.659, allocations: 2.261 MB / 0.7286 GB, free: 5.996 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005576/0.6596, allocations: 0.6277 MB / 0.7292 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.6597, allocations: 44 kB / 0.7293 GB, free: 5.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.6599, allocations: 402.4 kB / 0.7297 GB, free: 4.918 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.6616, allocations: 1.168 MB / 0.7308 GB, free: 3.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.6638, allocations: 1.873 MB / 0.7326 GB, free: 1.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.6658, allocations: 1.513 MB / 0.7341 GB, free: 48 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.6659, allocations: 8 kB / 0.7341 GB, free: 40 kB / 0.545 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007306/0.6732, allocations: 4.547 MB / 0.7385 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.6732, allocations: 17.88 kB / 0.7386 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/0.6733, allocations: 24 kB / 0.7386 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003416/0.6767, allocations: 1.579 MB / 0.7401 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.6778, allocations: 355.3 kB / 0.7405 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/0.6993, allocations: 17.05 MB / 0.7571 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.701, allocations: 115.9 kB / 0.7572 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003281/0.7014, allocations: 99.98 kB / 0.7573 GB, free: 7.695 MB / 0.5762 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 (177): * Single equations (assignments): 173 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0034/0.7048, allocations: 1.898 MB / 0.7592 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/0.7053, allocations: 229.3 kB / 0.7594 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006862/0.7122, allocations: 4.067 MB / 0.7634 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.7122, allocations: 16 kB / 0.7634 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.771e-05/0.7123, allocations: 16 kB / 0.7634 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.7123, allocations: 11.95 kB / 0.7634 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.7278, allocations: 9.439 MB / 0.7726 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.7279, allocations: 4 kB / 0.7726 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/0.7286, allocations: 183.7 kB / 0.7728 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003066/0.7317, allocations: 1.346 MB / 0.7741 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.7318, allocations: 36 kB / 0.7742 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/0.7518, allocations: 15.96 MB / 0.7897 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.7519, allocations: 4 kB / 0.7897 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006912/0.7588, allocations: 4.058 MB / 0.7937 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.76, allocations: 0.5296 MB / 0.7942 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/0.7604, allocations: 36 kB / 0.7943 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009714/0.7614, allocations: 88.39 kB / 0.7943 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004181/0.7618, allocations: 165.6 kB / 0.7945 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.762, allocations: 48 kB / 0.7945 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001514/0.7635, allocations: 0.9929 MB / 0.7955 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7635, allocations: 0 / 0.7955 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003105/0.7666, allocations: 0.9844 MB / 0.7965 GB, free: 14.63 MB / 0.6231 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006616/0.7732, allocations: 4.651 MB / 0.801 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006569/0.7798, allocations: 4.284 MB / 0.8052 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.7798, allocations: 5 kB / 0.8052 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004016/0.7839, allocations: 2.669 MB / 0.8078 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/0.787, allocations: 0.7077 MB / 0.8085 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3177/1.105, allocations: 22.85 MB / 0.8308 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004873/1.11, allocations: 3.57 MB / 0.8343 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001493/1.111, allocations: 462.4 kB / 0.8348 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/1.113, allocations: 1.788 MB / 0.8365 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/1.113, allocations: 3.75 kB / 0.8365 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09135/1.204, allocations: 70.5 MB / 0.9053 GB, free: 136.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/1.204, allocations: 234.4 kB / 0.9056 GB, free: 136.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.902, allocations: 3.938 kB / 0.9056 GB, free: 136.1 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) Environment - environmentSimulation: