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.001416/0.001416, allocations: 102.3 kB / 15.98 MB, free: 6.34 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.0017/0.0017, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.304/1.304, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6909/0.6909, allocations: 115.3 MB / 406.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 75.89 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3486, allocations: 76.16 MB / 0.556 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03643/0.3851, allocations: 37.59 MB / 0.5927 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01739/0.4025, allocations: 10.89 MB / 0.6034 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00543/0.408, allocations: 141.1 kB / 0.6035 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.4185, allocations: 4.093 MB / 0.6075 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008154/0.4267, allocations: 2.059 MB / 0.6095 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005696/0.4324, allocations: 1.963 MB / 0.6114 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01145/0.4439, allocations: 9.302 MB / 0.6205 GB, free: 2.488 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02246/0.4663, allocations: 13.58 MB / 0.6338 GB, free: 4.805 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007546/0.4739, allocations: 4.058 MB / 0.6377 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008188/0.4821, allocations: 4.721 MB / 0.6424 GB, free: 12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002699/0.4849, allocations: 0.8242 MB / 0.6432 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004803/0.4897, allocations: 1.58 MB / 0.6447 GB, free: 9.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00512/0.4948, allocations: 3.15 MB / 0.6478 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007749/0.5026, allocations: 3.653 MB / 0.6514 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01494/0.5176, allocations: 12.31 MB / 0.6634 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.5176, allocations: 0 / 0.6634 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5177, allocations: 0 / 0.6634 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004593/0.5181, allocations: 4 kB / 0.6634 GB, free: 6.422 MB / 0.4981 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.01927/0.5374, allocations: 6.311 MB / 0.6695 GB, free: 40 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.5375, allocations: 8.031 kB / 0.6695 GB, free: 32 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003106/0.5406, allocations: 0.8294 MB / 0.6704 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007154/0.5478, allocations: 1.067 MB / 0.6714 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008211/0.556, allocations: 3.427 MB / 0.6747 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004594/0.5565, allocations: 423.7 kB / 0.6751 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002155/0.5587, allocations: 0.5355 MB / 0.6757 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/0.5813, allocations: 9.381 MB / 0.6848 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002684/0.5816, allocations: 19.78 kB / 0.6849 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001892/0.5835, allocations: 256 kB / 0.6851 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006958/0.5842, allocations: 422.9 kB / 0.6855 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01499/0.5992, allocations: 7.127 MB / 0.6925 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04808/0.6474, allocations: 41.3 MB / 0.7328 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00479/0.6522, allocations: 3.104 MB / 0.7358 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003056/0.6553, allocations: 2.133 MB / 0.7379 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.6555, allocations: 26 kB / 0.7379 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.934e-05/0.6556, allocations: 68.42 kB / 0.738 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 6.963e-06/0.6556, allocations: 0 / 0.738 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.2735/0.9291, allocations: 10.56 MB / 0.7483 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.9292, allocations: 74.69 kB / 0.7484 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002821/0.932, allocations: 1.997 MB / 0.7503 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.9322, allocations: 63.33 kB / 0.7504 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.9334, allocations: 2.408 MB / 0.7527 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004771/0.9339, allocations: 0.7341 MB / 0.7535 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000646/0.9345, allocations: 475.1 kB / 0.7539 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.766e-05/0.9346, allocations: 303.2 kB / 0.7542 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.9363, allocations: 1.376 MB / 0.7555 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.9384, allocations: 2.105 MB / 0.7576 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004065/0.9425, allocations: 3.769 MB / 0.7613 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.9425, allocations: 6.438 kB / 0.7613 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007465/0.95, allocations: 5.072 MB / 0.7662 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.95, allocations: 15.66 kB / 0.7663 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.9501, allocations: 21.84 kB / 0.7663 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003404/0.9535, allocations: 1.592 MB / 0.7678 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.9551, allocations: 455.6 kB / 0.7683 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/0.9739, allocations: 18.59 MB / 0.7864 GB, free: 135 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.9761, allocations: 150.1 kB / 0.7866 GB, free: 135 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.9762, allocations: 102.2 kB / 0.7867 GB, free: 135 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 (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.002652/0.9789, allocations: 1.943 MB / 0.7886 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.9793, allocations: 286.9 kB / 0.7888 GB, free: 134 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/0.9848, allocations: 4.458 MB / 0.7932 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.9848, allocations: 22.19 kB / 0.7932 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.9848, allocations: 14.47 kB / 0.7932 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.9848, allocations: 11.81 kB / 0.7932 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.9966, allocations: 9.664 MB / 0.8027 GB, free: 123 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/0.9967, allocations: 4 kB / 0.8027 GB, free: 123 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/0.9975, allocations: 239.5 kB / 0.8029 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002728/1, allocations: 1.441 MB / 0.8043 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/1, allocations: 40 kB / 0.8043 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01825/1.019, allocations: 18.58 MB / 0.8225 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.019, allocations: 11.94 kB / 0.8225 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006563/1.025, allocations: 4.54 MB / 0.8269 GB, free: 97.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.027, allocations: 0.6264 MB / 0.8276 GB, free: 96.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007922/1.028, allocations: 43.98 kB / 0.8276 GB, free: 96.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/1.029, allocations: 119.9 kB / 0.8277 GB, free: 96.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000493/1.03, allocations: 173.6 kB / 0.8279 GB, free: 96.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.03, allocations: 63.98 kB / 0.8279 GB, free: 96.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001861/1.032, allocations: 1.311 MB / 0.8292 GB, free: 95.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.032, allocations: 0 / 0.8292 GB, free: 95.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003553/1.035, allocations: 1.148 MB / 0.8303 GB, free: 94.04 MB / 0.5762 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.005862/1.041, allocations: 5.156 MB / 0.8354 GB, free: 88.79 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007933/1.049, allocations: 5.913 MB / 0.8411 GB, free: 82.83 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.049, allocations: 4 kB / 0.8411 GB, free: 82.83 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003534/1.053, allocations: 2.91 MB / 0.844 GB, free: 79.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/1.057, allocations: 0.8936 MB / 0.8449 GB, free: 79.03 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05655/1.113, allocations: 35.93 MB / 0.88 GB, free: 40.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004312/1.118, allocations: 3.698 MB / 0.8836 GB, free: 36.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001873/1.12, allocations: 0.5518 MB / 0.8841 GB, free: 36.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/1.121, allocations: 1.948 MB / 0.886 GB, free: 34.37 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/1.121, allocations: 0 / 0.886 GB, free: 34.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8717/1.993, allocations: 85.74 MB / 0.9697 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/1.993, allocations: 248.4 kB / 0.97 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.649/5.643, allocations: 0 / 0.97 GB, free: 13.32 MB / 0.6387 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)