Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0008355/0.0008354, allocations: 95.88 kB / 15.68 MB, free: 488 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.0008914/0.0008914, allocations: 174.2 kB / 16.56 MB, free: 6.391 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.2/1.2, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5971/0.5971, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002988, allocations: 8 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1309, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01105/0.142, allocations: 11.88 MB / 0.5683 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.1523, allocations: 8.624 MB / 0.5768 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009423/0.1533, allocations: 47.62 kB / 0.5768 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005823/0.1539, allocations: 250.3 kB / 0.577 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.1569, allocations: 1.264 MB / 0.5783 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.1581, allocations: 0.5146 MB / 0.5788 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.16, allocations: 1.526 MB / 0.5803 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/0.1625, allocations: 1.805 MB / 0.582 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009586/0.1635, allocations: 0.759 MB / 0.5828 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009374/0.1645, allocations: 0.8445 MB / 0.5836 GB, free: 60 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2165/0.381, allocations: 68.67 kB / 0.5837 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.3823, allocations: 381.8 kB / 0.584 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004928/0.3829, allocations: 474.2 kB / 0.5845 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004167/0.3833, allocations: 349.5 kB / 0.5848 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002254/0.3855, allocations: 2.079 MB / 0.5868 GB, free: 13.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.3855, allocations: 0.7812 kB / 0.5868 GB, free: 13.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3856, allocations: 0 / 0.5868 GB, free: 13.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.3856, allocations: 0 / 0.5868 GB, free: 13.89 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002997/0.3886, allocations: 1.817 MB / 0.5886 GB, free: 12.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3886, allocations: 9.281 kB / 0.5886 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000274/0.3889, allocations: 194.5 kB / 0.5888 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.3999, allocations: 2.162 MB / 0.5909 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.4027, allocations: 1.155 MB / 0.5921 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.386e-05/0.4027, allocations: 87.39 kB / 0.5921 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/0.403, allocations: 120.6 kB / 0.5923 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005552/0.4085, allocations: 2.684 MB / 0.5949 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/0.4086, allocations: 7.109 kB / 0.5949 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.4088, allocations: 56.34 kB / 0.5949 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006373/0.4094, allocations: 182.1 kB / 0.5951 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007019/0.4165, allocations: 2.836 MB / 0.5979 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.4286, allocations: 10.57 MB / 0.6082 GB, free: 22.06 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005962/0.4346, allocations: 2.574 MB / 0.6107 GB, free: 21.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.279e-05/0.4347, allocations: 17.25 kB / 0.6107 GB, free: 21.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.4347, allocations: 49.88 kB / 0.6108 GB, free: 21.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.765e-06/0.4347, allocations: 0 / 0.6108 GB, free: 21.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=131): time 0.04015/0.4749, allocations: 13.43 MB / 0.6239 GB, free: 16.15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/0.475, allocations: 63.72 kB / 0.6239 GB, free: 16.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.4762, allocations: 1.108 MB / 0.625 GB, free: 15.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.4764, allocations: 48.3 kB / 0.6251 GB, free: 15.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.4768, allocations: 0.7165 MB / 0.6258 GB, free: 14.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.4773, allocations: 453 kB / 0.6262 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.4774, allocations: 25.06 kB / 0.6262 GB, free: 14.47 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4775, allocations: 360.5 kB / 0.6266 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/0.4805, allocations: 1.35 MB / 0.6279 GB, free: 12.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/0.4837, allocations: 1.612 MB / 0.6295 GB, free: 11.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/0.4868, allocations: 1.458 MB / 0.6309 GB, free: 9.727 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.4868, allocations: 7.953 kB / 0.6309 GB, free: 9.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.009966/0.4968, allocations: 4.461 MB / 0.6353 GB, free: 5.293 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4968, allocations: 14.34 kB / 0.6353 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4968, allocations: 8 kB / 0.6353 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004585/0.5014, allocations: 1.424 MB / 0.6367 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.5032, allocations: 456.6 kB / 0.6371 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02201/0.5252, allocations: 25 MB / 0.6615 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/0.5278, allocations: 315.6 kB / 0.6618 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.5279, allocations: 70.91 kB / 0.6619 GB, free: 8.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000829/0.5287, allocations: 436.7 kB / 0.6623 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.529, allocations: 161.8 kB / 0.6625 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.5392, allocations: 4.481 MB / 0.6668 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.5392, allocations: 16 kB / 0.6668 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.5393, allocations: 19.75 kB / 0.6669 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.5393, allocations: 3.984 kB / 0.6669 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.5523, allocations: 6.821 MB / 0.6735 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5523, allocations: 0 / 0.6735 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.5539, allocations: 390.5 kB / 0.6739 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004078/0.558, allocations: 1.306 MB / 0.6752 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.5581, allocations: 39.97 kB / 0.6752 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01996/0.5781, allocations: 23.98 MB / 0.6986 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5781, allocations: 11.72 kB / 0.6986 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009828/0.588, allocations: 4.377 MB / 0.7029 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.5891, allocations: 458.9 kB / 0.7034 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/0.5893, allocations: 24 kB / 0.7034 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/0.5912, allocations: 319.5 kB / 0.7037 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/0.5916, allocations: 131.6 kB / 0.7038 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.5917, allocations: 47.97 kB / 0.7038 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009066/0.5926, allocations: 0.737 MB / 0.7046 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5926, allocations: 7.469 kB / 0.7046 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001817/0.5944, allocations: 0.5703 MB / 0.7051 GB, free: 10.32 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009752/0.6042, allocations: 5.699 MB / 0.7107 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009668/0.6139, allocations: 5.149 MB / 0.7157 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6139, allocations: 4.062 kB / 0.7157 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006036/0.6199, allocations: 3.5 MB / 0.7191 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.622, allocations: 493.9 kB / 0.7196 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03153/0.6535, allocations: 18.85 MB / 0.738 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/0.6549, allocations: 1.515 MB / 0.7395 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001855/0.6568, allocations: 421.6 kB / 0.7399 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009218/0.6577, allocations: 0.6281 MB / 0.7405 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/0.6578, allocations: 0 / 0.7405 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5151/1.173, allocations: 49.66 MB / 0.789 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/1.173, allocations: 210.5 kB / 0.7892 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/3.806, allocations: 0 / 0.7892 GB, free: 4.082 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: