Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.0007192/0.000719, allocations: 92.95 kB / 16.02 MB, free: 84 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.0007596/0.0007595, allocations: 175.6 kB / 16.91 MB, free: 6.645 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.28/1.28, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6864/0.6864, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002993, allocations: 12 kB / 496 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 77.53 MB / 0.5601 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.3698/0.5113, allocations: 31.49 MB / 0.5908 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01632/0.5277, allocations: 10.18 MB / 0.6008 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003522/0.5313, allocations: 128.2 kB / 0.6009 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.5337, allocations: 0.6279 MB / 0.6015 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00621/0.5399, allocations: 1.738 MB / 0.6032 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006357/0.5463, allocations: 1.756 MB / 0.6049 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01343/0.5597, allocations: 10.59 MB / 0.6153 GB, free: 7.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01568/0.5754, allocations: 12.07 MB / 0.627 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003882/0.5793, allocations: 2.243 MB / 0.6292 GB, free: 72 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004291/0.5837, allocations: 2.954 MB / 0.6321 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005705/0.5842, allocations: 272 kB / 0.6324 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/0.5878, allocations: 1.696 MB / 0.634 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00201/0.5898, allocations: 2.058 MB / 0.636 GB, free: 9.098 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.5923, allocations: 2.345 MB / 0.6383 GB, free: 6.734 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009665/0.6019, allocations: 9.645 MB / 0.6477 GB, free: 13.06 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.602, allocations: 3.938 kB / 0.6477 GB, free: 13.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.34e-06/0.602, allocations: 0 / 0.6477 GB, free: 13.05 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002021/0.6022, allocations: 3.938 kB / 0.6478 GB, free: 13.05 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.007349/0.6096, allocations: 4.015 MB / 0.6517 GB, free: 8.965 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.6096, allocations: 12.03 kB / 0.6517 GB, free: 8.953 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001094/0.6107, allocations: 0.6781 MB / 0.6523 GB, free: 8.266 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005003/0.6157, allocations: 0.9591 MB / 0.6533 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004949/0.6207, allocations: 2.862 MB / 0.6561 GB, free: 4.379 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.621, allocations: 349.7 kB / 0.6564 GB, free: 4.035 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000833/0.6218, allocations: 464.2 kB / 0.6569 GB, free: 3.582 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.6347, allocations: 7.667 MB / 0.6643 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.6349, allocations: 27.72 kB / 0.6644 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004798/0.6354, allocations: 196 kB / 0.6646 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003469/0.6358, allocations: 316.9 kB / 0.6649 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009828/0.6456, allocations: 5.706 MB / 0.6704 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04028/0.6859, allocations: 35.14 MB / 0.7047 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.689, allocations: 2.152 MB / 0.7069 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.6908, allocations: 1.273 MB / 0.7081 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.484e-05/0.6909, allocations: 17.25 kB / 0.7081 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.691, allocations: 47.88 kB / 0.7082 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=133): time 3.616e-06/0.691, allocations: 0 / 0.7082 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136): time 0.01416/0.7052, allocations: 7.127 MB / 0.7151 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.7052, allocations: 68.72 kB / 0.7152 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.7076, allocations: 1.484 MB / 0.7166 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.7077, allocations: 49.7 kB / 0.7167 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.7091, allocations: 2.004 MB / 0.7186 GB, free: 236 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004647/0.7096, allocations: 489.2 kB / 0.7191 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.7098, allocations: 149.6 kB / 0.7192 GB, free: 15.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.71, allocations: 305.1 kB / 0.7195 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.7113, allocations: 0.9096 MB / 0.7204 GB, free: 14.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.7132, allocations: 1.593 MB / 0.722 GB, free: 12.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/0.7166, allocations: 2.737 MB / 0.7247 GB, free: 9.426 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/0.7167, allocations: 8 kB / 0.7247 GB, free: 9.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006559/0.7232, allocations: 3.527 MB / 0.7281 GB, free: 5.844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.7233, allocations: 19.98 kB / 0.7281 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/0.7233, allocations: 28.09 kB / 0.7281 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/0.726, allocations: 0.8999 MB / 0.729 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.7272, allocations: 347.4 kB / 0.7294 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/0.747, allocations: 21.24 MB / 0.7501 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.7486, allocations: 99.92 kB / 0.7502 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/0.7489, allocations: 92.27 kB / 0.7503 GB, free: 13.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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003007/0.7519, allocations: 1.609 MB / 0.7519 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004918/0.7524, allocations: 201.6 kB / 0.752 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005516/0.7579, allocations: 2.99 MB / 0.755 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.758, allocations: 12 kB / 0.755 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.85e-05/0.758, allocations: 16 kB / 0.755 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.758, allocations: 7.969 kB / 0.755 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/0.7705, allocations: 7.336 MB / 0.7622 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.7706, allocations: 4 kB / 0.7622 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007985/0.7714, allocations: 176.3 kB / 0.7623 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002355/0.7737, allocations: 0.8218 MB / 0.7631 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.7739, allocations: 32.12 kB / 0.7632 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/0.7924, allocations: 20.33 MB / 0.783 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.7925, allocations: 7.938 kB / 0.783 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00528/0.7977, allocations: 3.023 MB / 0.786 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.7988, allocations: 458.5 kB / 0.7864 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004787/0.7993, allocations: 35.98 kB / 0.7864 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.8003, allocations: 67.92 kB / 0.7865 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/0.8007, allocations: 120.7 kB / 0.7866 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.852e-05/0.8008, allocations: 43.98 kB / 0.7867 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001582/0.8023, allocations: 0.9756 MB / 0.7876 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8024, allocations: 0 / 0.7876 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002823/0.8052, allocations: 0.7891 MB / 0.7884 GB, free: 4.371 MB / 0.6075 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0053/0.8105, allocations: 3.612 MB / 0.7919 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005797/0.8163, allocations: 4.031 MB / 0.7959 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.8163, allocations: 4.312 kB / 0.7959 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003703/0.82, allocations: 2.74 MB / 0.7985 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004339/0.8244, allocations: 0.6672 MB / 0.7992 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3524/1.177, allocations: 25.75 MB / 0.8243 GB, free: 182 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00488/1.182, allocations: 3.116 MB / 0.8274 GB, free: 181.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001933/1.184, allocations: 450.8 kB / 0.8278 GB, free: 181.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/1.185, allocations: 1.534 MB / 0.8293 GB, free: 181.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.373e-06/1.185, allocations: 0 / 0.8293 GB, free: 181.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0879/1.273, allocations: 58.16 MB / 0.8861 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/1.273, allocations: 242.8 kB / 0.8863 GB, free: 148.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.772/4.045, allocations: 0 / 0.8863 GB, free: 148.1 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)