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.003908/0.003908, allocations: 100.5 kB / 15.87 MB, free: 6.312 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.001022/0.001022, allocations: 195.3 kB / 16.79 MB, free: 6.242 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.171/1.171, allocations: 222.9 MB / 240.5 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.647/0.647, allocations: 115.3 MB / 405.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.11 kB / 493 MB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2813, allocations: 76.17 MB / 0.5558 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01176/0.293, allocations: 13.95 MB / 0.5695 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.3058, allocations: 9.386 MB / 0.5786 GB, free: 19.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.307, allocations: 55.09 kB / 0.5787 GB, free: 19.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003233/0.3103, allocations: 1.562 MB / 0.5802 GB, free: 18.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.314, allocations: 1.404 MB / 0.5816 GB, free: 17.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.3156, allocations: 0.6841 MB / 0.5822 GB, free: 17.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003289/0.3189, allocations: 3.176 MB / 0.5853 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.3207, allocations: 1.357 MB / 0.5867 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.3223, allocations: 0.9389 MB / 0.5876 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.324, allocations: 1.149 MB / 0.5887 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.3242, allocations: 99.44 kB / 0.5888 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.3259, allocations: 0.8856 MB / 0.5897 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000492/0.3264, allocations: 0.556 MB / 0.5902 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008089/0.3272, allocations: 0.8706 MB / 0.5911 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.3294, allocations: 2.728 MB / 0.5937 GB, free: 11.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3295, allocations: 0 / 0.5937 GB, free: 11.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3295, allocations: 0 / 0.5937 GB, free: 11.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.3295, allocations: 0 / 0.5937 GB, free: 11.92 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.00326/0.3328, allocations: 2.135 MB / 0.5958 GB, free: 10.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3328, allocations: 17.41 kB / 0.5958 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.333, allocations: 198 kB / 0.596 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.3431, allocations: 2.082 MB / 0.598 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.3451, allocations: 1.197 MB / 0.5992 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.3451, allocations: 86.73 kB / 0.5993 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.3453, allocations: 123.8 kB / 0.5994 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004318/0.3497, allocations: 2.682 MB / 0.602 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.3497, allocations: 7.938 kB / 0.602 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.3499, allocations: 55.98 kB / 0.6021 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004947/0.3504, allocations: 178.1 kB / 0.6023 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00573/0.3561, allocations: 2.799 MB / 0.605 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.3681, allocations: 10.51 MB / 0.6153 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005842/0.374, allocations: 2.525 MB / 0.6177 GB, free: 4.328 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002699/0.3767, allocations: 1.28 MB / 0.619 GB, free: 3.043 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.183e-05/0.3767, allocations: 13 kB / 0.619 GB, free: 3.031 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3768, allocations: 51.48 kB / 0.619 GB, free: 2.973 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.274e-06/0.3768, allocations: 0 / 0.619 GB, free: 2.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=131): time 0.04097/0.4178, allocations: 13.36 MB / 0.6321 GB, free: 5.391 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.4178, allocations: 68.72 kB / 0.6321 GB, free: 5.312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.419, allocations: 1.117 MB / 0.6332 GB, free: 4.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.4192, allocations: 49.7 kB / 0.6333 GB, free: 4.125 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/0.4196, allocations: 0.7117 MB / 0.634 GB, free: 3.406 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.42, allocations: 449.4 kB / 0.6344 GB, free: 2.961 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000471/0.4204, allocations: 267.4 kB / 0.6347 GB, free: 2.691 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4206, allocations: 361.9 kB / 0.635 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/0.4234, allocations: 1.343 MB / 0.6363 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/0.4264, allocations: 1.6 MB / 0.6379 GB, free: 15.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005815/0.4322, allocations: 2.991 MB / 0.6408 GB, free: 12.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4322, allocations: 0 / 0.6408 GB, free: 12.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0101/0.4423, allocations: 4.454 MB / 0.6452 GB, free: 7.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.4424, allocations: 8 kB / 0.6452 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.4424, allocations: 8 kB / 0.6452 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004961/0.4473, allocations: 1.426 MB / 0.6466 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.4492, allocations: 443.2 kB / 0.647 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02238/0.4716, allocations: 24.54 MB / 0.671 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/0.4738, allocations: 303.6 kB / 0.6712 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.474, allocations: 59.97 kB / 0.6713 GB, free: 11.14 MB / 0.5137 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007598/0.4748, allocations: 444.1 kB / 0.6717 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.475, allocations: 166 kB / 0.6719 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.4853, allocations: 4.449 MB / 0.6762 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.4854, allocations: 16 kB / 0.6762 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/0.4854, allocations: 16.09 kB / 0.6763 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4854, allocations: 7.922 kB / 0.6763 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.4987, allocations: 6.774 MB / 0.6829 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.4987, allocations: 4 kB / 0.6829 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.5003, allocations: 375.4 kB / 0.6832 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004475/0.5048, allocations: 1.313 MB / 0.6845 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.5049, allocations: 35.97 kB / 0.6846 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/0.5259, allocations: 23.52 MB / 0.7075 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5259, allocations: 0 / 0.7075 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009831/0.5358, allocations: 4.2 MB / 0.7116 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008859/0.5367, allocations: 462.9 kB / 0.7121 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003519/0.537, allocations: 24 kB / 0.7121 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/0.539, allocations: 311.5 kB / 0.7124 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004084/0.5394, allocations: 124.7 kB / 0.7125 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/0.5396, allocations: 47.97 kB / 0.7125 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001107/0.5407, allocations: 0.7526 MB / 0.7133 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.393e-06/0.5407, allocations: 0 / 0.7133 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001967/0.5427, allocations: 0.5703 MB / 0.7138 GB, free: 13.45 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009937/0.5526, allocations: 4.797 MB / 0.7185 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009759/0.5624, allocations: 5.119 MB / 0.7235 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5624, allocations: 0 / 0.7235 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006103/0.5685, allocations: 3.488 MB / 0.7269 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.5709, allocations: 0.5004 MB / 0.7274 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03786/0.6088, allocations: 20.93 MB / 0.7479 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.6099, allocations: 1.481 MB / 0.7493 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001666/0.6116, allocations: 425.6 kB / 0.7497 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008339/0.6124, allocations: 0.6242 MB / 0.7503 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.6124, allocations: 0 / 0.7503 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2689/0.8813, allocations: 49.83 MB / 0.799 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001358/0.8815, allocations: 235.1 kB / 0.7992 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.503, allocations: 1 kB / 0.7992 GB, free: 158.9 MB / 0.5919 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/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)