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.0008016/0.0008015, allocations: 96.27 kB / 15.69 MB, free: 480 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.001071/0.001071, allocations: 177.7 kB / 16.57 MB, free: 6.859 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.314/1.314, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6858/0.6858, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003016, allocations: 8.625 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1479, allocations: 77.11 MB / 0.5567 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.3662/0.5142, allocations: 33.01 MB / 0.589 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0198/0.534, allocations: 10.71 MB / 0.5994 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005533/0.5396, allocations: 129.2 kB / 0.5995 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.543, allocations: 0.758 MB / 0.6003 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008255/0.5512, allocations: 1.712 MB / 0.602 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005992/0.5573, allocations: 1.295 MB / 0.6032 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01208/0.5694, allocations: 4.449 MB / 0.6076 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02269/0.5921, allocations: 12.67 MB / 0.6199 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00624/0.5983, allocations: 2.491 MB / 0.6224 GB, free: 3.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006281/0.6047, allocations: 2.651 MB / 0.625 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002086/0.6068, allocations: 344.2 kB / 0.6253 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004475/0.6113, allocations: 0.5937 MB / 0.6259 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003416/0.6147, allocations: 2.31 MB / 0.6281 GB, free: 416 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002751/0.6175, allocations: 1.197 MB / 0.6293 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.6283, allocations: 10.03 MB / 0.6391 GB, free: 6.008 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6284, allocations: 4 kB / 0.6391 GB, free: 6.004 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.6284, allocations: 0 / 0.6391 GB, free: 6.004 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000375/0.6287, allocations: 3.938 kB / 0.6391 GB, free: 6 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01108/0.6398, allocations: 5.099 MB / 0.6441 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.6399, allocations: 12.03 kB / 0.6441 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002137/0.642, allocations: 0.8293 MB / 0.6449 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/0.6466, allocations: 1.015 MB / 0.6459 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007322/0.654, allocations: 3.349 MB / 0.6492 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.6543, allocations: 419.4 kB / 0.6496 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.6556, allocations: 0.539 MB / 0.6501 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.6716, allocations: 9.287 MB / 0.6592 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.6718, allocations: 19.78 kB / 0.6592 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005607/0.6724, allocations: 248 kB / 0.6594 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005448/0.6729, allocations: 418.9 kB / 0.6598 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.6854, allocations: 7.081 MB / 0.6667 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0396/0.725, allocations: 41.36 MB / 0.7071 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003967/0.729, allocations: 3.089 MB / 0.7101 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-05/0.7292, allocations: 26 kB / 0.7102 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.7292, allocations: 64.5 kB / 0.7102 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=209): time 3.707e-06/0.7292, allocations: 0 / 0.7102 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.02072/0.7499, allocations: 10.44 MB / 0.7204 GB, free: 14.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.75, allocations: 77.36 kB / 0.7205 GB, free: 14.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.7523, allocations: 1.978 MB / 0.7224 GB, free: 12.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.7524, allocations: 65.7 kB / 0.7225 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.7537, allocations: 2.412 MB / 0.7248 GB, free: 9.809 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/0.7543, allocations: 0.7279 MB / 0.7255 GB, free: 9.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.7544, allocations: 56 kB / 0.7256 GB, free: 9.016 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.7546, allocations: 411.4 kB / 0.726 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.7563, allocations: 1.36 MB / 0.7273 GB, free: 7.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.7584, allocations: 2.084 MB / 0.7294 GB, free: 4.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.7604, allocations: 1.724 MB / 0.731 GB, free: 3.121 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.7604, allocations: 8 kB / 0.731 GB, free: 3.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006855/0.7673, allocations: 5.038 MB / 0.736 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.7674, allocations: 16 kB / 0.736 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.7674, allocations: 20 kB / 0.736 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00306/0.7704, allocations: 1.563 MB / 0.7375 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.7719, allocations: 455.2 kB / 0.738 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/0.7909, allocations: 17.71 MB / 0.7553 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.7931, allocations: 147.9 kB / 0.7554 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.7933, allocations: 108 kB / 0.7555 GB, free: 9.5 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 (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,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003094/0.7964, allocations: 1.945 MB / 0.7574 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000499/0.7969, allocations: 288.7 kB / 0.7577 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006347/0.8032, allocations: 4.428 MB / 0.762 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.8033, allocations: 23.98 kB / 0.762 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.332e-05/0.8033, allocations: 20 kB / 0.762 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.8033, allocations: 11.91 kB / 0.7621 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.8167, allocations: 9.648 MB / 0.7715 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.8167, allocations: 4 kB / 0.7715 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/0.8176, allocations: 239.6 kB / 0.7717 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/0.8205, allocations: 1.432 MB / 0.7731 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.8206, allocations: 40 kB / 0.7731 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01839/0.839, allocations: 17.72 MB / 0.7904 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.8391, allocations: 4.188 kB / 0.7905 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006117/0.8452, allocations: 4.867 MB / 0.7952 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.8465, allocations: 0.6497 MB / 0.7958 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/0.8468, allocations: 39.98 kB / 0.7959 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.8479, allocations: 119.9 kB / 0.796 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003596/0.8482, allocations: 177.7 kB / 0.7962 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.8483, allocations: 59.98 kB / 0.7962 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001493/0.8498, allocations: 1.295 MB / 0.7975 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8499, allocations: 3.938 kB / 0.7975 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002591/0.8525, allocations: 1.141 MB / 0.7986 GB, free: 12.39 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006229/0.8587, allocations: 6.592 MB / 0.805 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006289/0.865, allocations: 4.677 MB / 0.8096 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.865, allocations: 8.062 kB / 0.8096 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004367/0.8694, allocations: 2.91 MB / 0.8125 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003828/0.8732, allocations: 0.8015 MB / 0.8132 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2668/1.14, allocations: 41.18 MB / 0.8535 GB, free: 166 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003417/1.143, allocations: 3.788 MB / 0.8571 GB, free: 165.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0018/1.145, allocations: 0.55 MB / 0.8577 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/1.147, allocations: 1.952 MB / 0.8596 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of SimCode: time 7.81e-07/1.147, allocations: 0 / 0.8596 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.838/2.985, allocations: 82.25 MB / 0.9399 GB, free: 100 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/2.986, allocations: 225.5 kB / 0.9401 GB, free: 99.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.923/5.909, allocations: 3.938 kB / 0.9401 GB, free: 99.79 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/linux/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) Environment - environmentSimulation: