Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.0009786/0.0009785, allocations: 100.1 kB / 15.88 MB, free: 12 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.0009667/0.0009667, allocations: 209.4 kB / 16.79 MB, free: 6.84 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.215/1.215, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6369/0.6369, allocations: 115.3 MB / 405.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 67.89 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1179, allocations: 76.18 MB / 0.5559 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01539/0.1334, allocations: 14.67 MB / 0.5702 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.1466, allocations: 10.36 MB / 0.5803 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.1481, allocations: 51.62 kB / 0.5804 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2148/0.3629, allocations: 1.581 MB / 0.5819 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004241/0.3672, allocations: 1.595 MB / 0.5835 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.3686, allocations: 0.6913 MB / 0.5841 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003638/0.3723, allocations: 3.403 MB / 0.5875 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.374, allocations: 1.351 MB / 0.5888 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.376, allocations: 1.393 MB / 0.5901 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.3774, allocations: 1.168 MB / 0.5913 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.3776, allocations: 100.4 kB / 0.5914 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.3791, allocations: 0.883 MB / 0.5922 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005068/0.3796, allocations: 0.5434 MB / 0.5928 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008514/0.3805, allocations: 0.8813 MB / 0.5936 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002736/0.3832, allocations: 2.737 MB / 0.5963 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3832, allocations: 0.5625 kB / 0.5963 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3833, allocations: 0.8438 kB / 0.5963 GB, free: 12.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.212e-05/0.3833, allocations: 0.9688 kB / 0.5963 GB, free: 12.78 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.003492/0.3868, allocations: 2.174 MB / 0.5984 GB, free: 11.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3868, allocations: 9.562 kB / 0.5984 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/0.3871, allocations: 197.7 kB / 0.5986 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.3973, allocations: 2.109 MB / 0.6007 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.3995, allocations: 1.207 MB / 0.6019 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.3996, allocations: 85.42 kB / 0.6019 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.3998, allocations: 119.3 kB / 0.6021 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004749/0.4045, allocations: 2.677 MB / 0.6047 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/0.4046, allocations: 16.03 kB / 0.6047 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.4048, allocations: 56.58 kB / 0.6047 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005375/0.4053, allocations: 190.7 kB / 0.6049 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006109/0.4114, allocations: 2.794 MB / 0.6076 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/0.4224, allocations: 10.5 MB / 0.6179 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005396/0.4278, allocations: 2.335 MB / 0.6202 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002659/0.4305, allocations: 1.274 MB / 0.6214 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.983e-05/0.4306, allocations: 14.03 kB / 0.6214 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.4306, allocations: 46.53 kB / 0.6215 GB, free: 13.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.385e-06/0.4306, allocations: 0 / 0.6215 GB, free: 13.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.05266/0.4833, allocations: 16.49 MB / 0.6376 GB, free: 14.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.4834, allocations: 72.28 kB / 0.6376 GB, free: 14.53 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.4851, allocations: 1.176 MB / 0.6388 GB, free: 13.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002906/0.4854, allocations: 53.7 kB / 0.6388 GB, free: 13.28 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/0.486, allocations: 0.7393 MB / 0.6396 GB, free: 12.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005138/0.4865, allocations: 0.5152 MB / 0.6401 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005426/0.487, allocations: 287.4 kB / 0.6403 GB, free: 11.74 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.607e-05/0.4871, allocations: 309.1 kB / 0.6406 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/0.4902, allocations: 1.514 MB / 0.6421 GB, free: 9.918 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003251/0.4935, allocations: 1.772 MB / 0.6439 GB, free: 8.051 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006311/0.4998, allocations: 3.375 MB / 0.6471 GB, free: 4.582 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4998, allocations: 0 / 0.6471 GB, free: 4.582 MB / 478.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01213/0.5119, allocations: 5.284 MB / 0.6523 GB, free: 15.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.512, allocations: 8 kB / 0.6523 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.512, allocations: 7.984 kB / 0.6523 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006396/0.5184, allocations: 1.882 MB / 0.6542 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.5201, allocations: 415.3 kB / 0.6546 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02534/0.5454, allocations: 22.17 MB / 0.6762 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.5479, allocations: 307.6 kB / 0.6765 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.5481, allocations: 67.91 kB / 0.6766 GB, free: 5.363 MB / 0.4981 GB 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008585/0.549, allocations: 466.1 kB / 0.677 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.5493, allocations: 177.9 kB / 0.6772 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/0.5615, allocations: 5.316 MB / 0.6824 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.5616, allocations: 20 kB / 0.6824 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/0.5616, allocations: 16 kB / 0.6824 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.5616, allocations: 3.984 kB / 0.6824 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.5766, allocations: 7.421 MB / 0.6897 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5767, allocations: 0 / 0.6897 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/0.5782, allocations: 355.4 kB / 0.69 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005722/0.5839, allocations: 1.713 MB / 0.6917 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.5841, allocations: 43.91 kB / 0.6917 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02404/0.6081, allocations: 21.36 MB / 0.7126 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6081, allocations: 4 kB / 0.7126 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/0.6192, allocations: 4.889 MB / 0.7173 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.6202, allocations: 498.7 kB / 0.7178 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/0.6205, allocations: 31.98 kB / 0.7179 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.6224, allocations: 315.5 kB / 0.7182 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000491/0.6229, allocations: 153 kB / 0.7183 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.623, allocations: 51.97 kB / 0.7183 GB, free: 9.258 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001016/0.624, allocations: 0.7899 MB / 0.7191 GB, free: 8.469 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.624, allocations: 0 / 0.7191 GB, free: 8.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001964/0.626, allocations: 0.6562 MB / 0.7198 GB, free: 7.812 MB / 0.545 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01126/0.6373, allocations: 5.475 MB / 0.7251 GB, free: 2.242 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01007/0.6474, allocations: 5.126 MB / 0.7301 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.6474, allocations: 4 kB / 0.7301 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006463/0.6539, allocations: 3.366 MB / 0.7334 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.6564, allocations: 0.5171 MB / 0.7339 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04388/0.7003, allocations: 23.62 MB / 0.757 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.7015, allocations: 1.572 MB / 0.7585 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001592/0.7031, allocations: 386.4 kB / 0.7589 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008417/0.704, allocations: 0.6515 MB / 0.7595 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.704, allocations: 0 / 0.7595 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09574/0.7997, allocations: 56.58 MB / 0.8148 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.8, allocations: 244.3 kB / 0.815 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.46, allocations: 3.625 kB / 0.815 GB, free: 5.824 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)