Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.001008/0.001009, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001088/0.001089, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.235/1.235, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7172/0.7172, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.001201, allocations: 75.81 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2984, allocations: 77.91 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006961/0.3054, allocations: 6.719 MB / 0.5739 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003989/0.3094, allocations: 3.03 MB / 0.5768 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003072/0.3097, allocations: 24.12 kB / 0.5768 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.3118, allocations: 0.9478 MB / 0.5778 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008412/0.3126, allocations: 0.4987 MB / 0.5783 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.3134, allocations: 428.2 kB / 0.5787 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009156/0.3144, allocations: 1.228 MB / 0.5799 GB, free: 24.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007229/0.3151, allocations: 0.6618 MB / 0.5805 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004187/0.3155, allocations: 471.7 kB / 0.581 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.316, allocations: 0.5176 MB / 0.5815 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.757e-05/0.3161, allocations: 66.47 kB / 0.5815 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005884/0.3167, allocations: 379.4 kB / 0.5819 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.317, allocations: 302.7 kB / 0.5822 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.3173, allocations: 452.5 kB / 0.5826 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008228/0.3181, allocations: 1.207 MB / 0.5838 GB, free: 22.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3181, allocations: 0.625 kB / 0.5838 GB, free: 22.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3181, allocations: 4.812 kB / 0.5838 GB, free: 22.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.3182, allocations: 0 / 0.5838 GB, free: 22.45 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001335/0.3195, allocations: 1.15 MB / 0.5849 GB, free: 21.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3195, allocations: 17.67 kB / 0.5849 GB, free: 21.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.3196, allocations: 117.5 kB / 0.585 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.321, allocations: 250.1 kB / 0.5853 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.3216, allocations: 0.5402 MB / 0.5858 GB, free: 20.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.3216, allocations: 52.98 kB / 0.5859 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/0.3217, allocations: 62.92 kB / 0.5859 GB, free: 20.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.3228, allocations: 1.088 MB / 0.587 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.3229, allocations: 4.812 kB / 0.587 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.3229, allocations: 28.86 kB / 0.587 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.3231, allocations: 84.44 kB / 0.5871 GB, free: 20.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.324, allocations: 0.7545 MB / 0.5878 GB, free: 19.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.3274, allocations: 5.896 MB / 0.5936 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/0.3283, allocations: 0.5508 MB / 0.5941 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.3286, allocations: 328.5 kB / 0.5944 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.3287, allocations: 6 kB / 0.5944 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.3287, allocations: 37.88 kB / 0.5945 GB, free: 13.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/0.3287, allocations: 3.984 kB / 0.5945 GB, free: 13.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003094/0.3318, allocations: 1.992 MB / 0.5964 GB, free: 12.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.3318, allocations: 63.83 kB / 0.5965 GB, free: 12.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.3322, allocations: 0.5546 MB / 0.597 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3323, allocations: 29.7 kB / 0.5971 GB, free: 11.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3324, allocations: 418.9 kB / 0.5975 GB, free: 11.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/0.3325, allocations: 169.6 kB / 0.5976 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.3326, allocations: 134.5 kB / 0.5978 GB, free: 10.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.3327, allocations: 370.7 kB / 0.5981 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.333, allocations: 277.8 kB / 0.5984 GB, free: 10.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.3334, allocations: 493 kB / 0.5988 GB, free: 9.621 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006796/0.334, allocations: 0.8093 MB / 0.5996 GB, free: 8.719 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.334, allocations: 4 kB / 0.5996 GB, free: 8.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001301/0.3354, allocations: 1.083 MB / 0.6007 GB, free: 7.609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3354, allocations: 8 kB / 0.6007 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3354, allocations: 8 kB / 0.6007 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.3361, allocations: 284 kB / 0.601 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.3365, allocations: 127.7 kB / 0.6011 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/0.3407, allocations: 7.141 MB / 0.6081 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.3412, allocations: 44.02 kB / 0.6081 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.3413, allocations: 28 kB / 0.6081 GB, free: 15.4 MB / 462.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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0002874/0.3416, allocations: 253.5 kB / 0.6084 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3417, allocations: 75.19 kB / 0.6085 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.3431, allocations: 0.8923 MB / 0.6093 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3431, allocations: 4 kB / 0.6093 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3431, allocations: 4 kB / 0.6093 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3431, allocations: 0 / 0.6093 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.3454, allocations: 1.72 MB / 0.611 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.3454, allocations: 7.938 kB / 0.611 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.3457, allocations: 68.08 kB / 0.6111 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006821/0.3464, allocations: 259.2 kB / 0.6113 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.3464, allocations: 8 kB / 0.6113 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/0.3522, allocations: 7.122 MB / 0.6183 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3522, allocations: 4 kB / 0.6183 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.3536, allocations: 0.9879 MB / 0.6193 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.3539, allocations: 192.2 kB / 0.6194 GB, free: 3.062 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.354, allocations: 15.94 kB / 0.6195 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.3544, allocations: 27.97 kB / 0.6195 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.3545, allocations: 47.94 kB / 0.6195 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.3545, allocations: 16 kB / 0.6196 GB, free: 2.957 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003774/0.3549, allocations: 387 kB / 0.6199 GB, free: 2.586 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3549, allocations: 0 / 0.6199 GB, free: 2.586 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007752/0.3557, allocations: 224 kB / 0.6201 GB, free: 2.367 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001554/0.3572, allocations: 1.54 MB / 0.6216 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.3591, allocations: 1.342 MB / 0.6229 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3591, allocations: 0 / 0.6229 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.3602, allocations: 0.8855 MB / 0.6238 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009102/0.3612, allocations: 228.5 kB / 0.624 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007186/0.3684, allocations: 6.51 MB / 0.6304 GB, free: 7.379 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.3689, allocations: 1.009 MB / 0.6314 GB, free: 6.344 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003773/0.3693, allocations: 122 kB / 0.6315 GB, free: 6.223 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.3695, allocations: 251.4 kB / 0.6317 GB, free: 5.977 MB / 478.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3695, allocations: 0 / 0.6317 GB, free: 5.977 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1483/0.5178, allocations: 17.12 MB / 0.6484 GB, free: 5.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.885/9.403, allocations: 4.922 kB / 0.6484 GB, free: 5.156 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)