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.001028/0.001028, allocations: 103.7 kB / 16.27 MB, free: 6.41 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.001176/0.001176, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.232/1.232, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6848/0.6848, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2959, allocations: 77.92 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01294/0.3089, allocations: 14.02 MB / 0.581 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.3201, allocations: 9.392 MB / 0.5902 GB, free: 16.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.3213, allocations: 53.84 kB / 0.5902 GB, free: 16.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.3249, allocations: 1.673 MB / 0.5918 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.3294, allocations: 1.552 MB / 0.5934 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.3313, allocations: 0.7517 MB / 0.5941 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003227/0.3346, allocations: 2.513 MB / 0.5965 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.3363, allocations: 1.421 MB / 0.5979 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.3379, allocations: 1.037 MB / 0.5989 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.3392, allocations: 1.147 MB / 0.6001 GB, free: 9.184 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.3394, allocations: 164 kB / 0.6002 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.3408, allocations: 0.7877 MB / 0.601 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003922/0.3412, allocations: 0.6232 MB / 0.6016 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006831/0.3419, allocations: 0.9406 MB / 0.6025 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.3441, allocations: 2.734 MB / 0.6052 GB, free: 3.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3441, allocations: 0 / 0.6052 GB, free: 3.922 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3441, allocations: 0 / 0.6052 GB, free: 3.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.3441, allocations: 0 / 0.6052 GB, free: 3.922 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.002907/0.347, allocations: 2.139 MB / 0.6073 GB, free: 1.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3471, allocations: 8.625 kB / 0.6073 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.3473, allocations: 194.4 kB / 0.6075 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.3577, allocations: 2.081 MB / 0.6095 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.3601, allocations: 1.205 MB / 0.6107 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/0.3602, allocations: 90.73 kB / 0.6108 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.3604, allocations: 123.8 kB / 0.6109 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005397/0.3658, allocations: 2.678 MB / 0.6135 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.3658, allocations: 7.938 kB / 0.6135 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.366, allocations: 63.97 kB / 0.6136 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006305/0.3667, allocations: 178.1 kB / 0.6137 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007095/0.3738, allocations: 2.791 MB / 0.6165 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/0.3881, allocations: 10.51 MB / 0.6267 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006692/0.3948, allocations: 2.524 MB / 0.6292 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003086/0.3979, allocations: 1.292 MB / 0.6305 GB, free: 9.094 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.41e-05/0.398, allocations: 9 kB / 0.6305 GB, free: 9.086 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3981, allocations: 43.56 kB / 0.6305 GB, free: 9.035 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 4.278e-06/0.3981, allocations: 0 / 0.6305 GB, free: 9.035 MB / 478.1 MB Notification: Performance of matching and sorting (n=131): time 0.04573/0.4438, allocations: 13.36 MB / 0.6436 GB, free: 11.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.4439, allocations: 64.72 kB / 0.6436 GB, free: 11.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.4456, allocations: 1.117 MB / 0.6447 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.4457, allocations: 45.7 kB / 0.6447 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005188/0.4463, allocations: 0.7155 MB / 0.6454 GB, free: 9.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/0.4468, allocations: 457.4 kB / 0.6459 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005852/0.4474, allocations: 263.4 kB / 0.6461 GB, free: 8.766 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.4475, allocations: 365.9 kB / 0.6465 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/0.451, allocations: 1.342 MB / 0.6478 GB, free: 7.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003587/0.4546, allocations: 1.596 MB / 0.6494 GB, free: 5.363 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/0.4613, allocations: 2.998 MB / 0.6523 GB, free: 2.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4614, allocations: 0 / 0.6523 GB, free: 2.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01104/0.4724, allocations: 4.446 MB / 0.6566 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4725, allocations: 8 kB / 0.6566 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4725, allocations: 4.875 kB / 0.6566 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004922/0.4774, allocations: 1.444 MB / 0.658 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.4794, allocations: 431.3 kB / 0.6585 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02669/0.5061, allocations: 26.71 MB / 0.6845 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.5086, allocations: 303.5 kB / 0.6848 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/0.5089, allocations: 63.97 kB / 0.6849 GB, free: 14.95 MB / 0.5294 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.0009541/0.5099, allocations: 438.3 kB / 0.6853 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004257/0.5103, allocations: 158.1 kB / 0.6855 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/0.5214, allocations: 4.457 MB / 0.6898 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.5215, allocations: 12 kB / 0.6898 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-05/0.5215, allocations: 16 kB / 0.6898 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.5216, allocations: 3.984 kB / 0.6898 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.5366, allocations: 6.774 MB / 0.6965 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5366, allocations: 0 / 0.6965 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.5383, allocations: 383.3 kB / 0.6968 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004426/0.5428, allocations: 1.305 MB / 0.6981 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/0.5429, allocations: 43.97 kB / 0.6981 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02452/0.5675, allocations: 25.51 MB / 0.723 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.974e-06/0.5675, allocations: 4 kB / 0.7231 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/0.5782, allocations: 4.216 MB / 0.7272 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009547/0.5792, allocations: 451.1 kB / 0.7276 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003969/0.5796, allocations: 27.94 kB / 0.7276 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/0.5818, allocations: 315.5 kB / 0.7279 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000398/0.5822, allocations: 120.7 kB / 0.728 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.5823, allocations: 55.97 kB / 0.7281 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001044/0.5834, allocations: 0.7487 MB / 0.7288 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5834, allocations: 4 kB / 0.7288 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002096/0.5855, allocations: 0.5664 MB / 0.7294 GB, free: 15.18 MB / 0.5762 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.01066/0.5961, allocations: 4.794 MB / 0.7341 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01149/0.6077, allocations: 5.517 MB / 0.7395 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.6077, allocations: 0 / 0.7395 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006703/0.6144, allocations: 3.488 MB / 0.7429 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.617, allocations: 0.5539 MB / 0.7434 GB, free: 420 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2429/0.8599, allocations: 20.32 MB / 0.7632 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.8611, allocations: 1.469 MB / 0.7647 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001766/0.8629, allocations: 431 kB / 0.7651 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008187/0.8637, allocations: 0.6307 MB / 0.7657 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/0.8637, allocations: 0 / 0.7657 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.723/2.586, allocations: 51.25 MB / 0.8158 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/14.08, allocations: 9.234 kB / 0.8158 GB, free: 105.7 MB / 0.5762 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)