Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.00419/0.00419, allocations: 100.7 kB / 15.87 MB, free: 6.293 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.0009762/0.0009762, allocations: 194.1 kB / 16.79 MB, free: 6.223 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.189/1.189, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6286/0.6286, allocations: 115.4 MB / 406 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.62 kB / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1296, allocations: 76.18 MB / 0.5559 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009376/0.139, allocations: 6.097 MB / 0.5618 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004606/0.1436, allocations: 3.149 MB / 0.5649 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.1441, allocations: 23.81 kB / 0.5649 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.1462, allocations: 0.8753 MB / 0.5658 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009649/0.1472, allocations: 442 kB / 0.5662 GB, free: 112 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000995/0.1482, allocations: 442.1 kB / 0.5666 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.1495, allocations: 1.467 MB / 0.568 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009379/0.1505, allocations: 0.6211 MB / 0.5686 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.1511, allocations: 394.3 kB / 0.569 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006239/0.1517, allocations: 482.2 kB / 0.5695 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.1518, allocations: 40 kB / 0.5695 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000878/0.1527, allocations: 0.5808 MB / 0.5701 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.153, allocations: 271.3 kB / 0.5703 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.1534, allocations: 381.9 kB / 0.5707 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.1547, allocations: 1.187 MB / 0.5719 GB, free: 10.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1547, allocations: 0 / 0.5719 GB, free: 10.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1547, allocations: 0 / 0.5719 GB, free: 10.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.637e-05/0.1547, allocations: 4 kB / 0.5719 GB, free: 10.27 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001777/0.1565, allocations: 1.049 MB / 0.5729 GB, free: 9.168 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1566, allocations: 8.031 kB / 0.5729 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.1567, allocations: 114.7 kB / 0.573 GB, free: 9.039 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.1582, allocations: 231.6 kB / 0.5732 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/0.1589, allocations: 0.5259 MB / 0.5737 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.1589, allocations: 49.67 kB / 0.5738 GB, free: 8.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.159, allocations: 64.36 kB / 0.5739 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.1604, allocations: 1.026 MB / 0.5749 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.1604, allocations: 15.83 kB / 0.5749 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.496e-05/0.1605, allocations: 35.92 kB / 0.5749 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.947e-05/0.1606, allocations: 69.27 kB / 0.575 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009828/0.1616, allocations: 0.6918 MB / 0.5756 GB, free: 6.195 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.1661, allocations: 5.749 MB / 0.5813 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1867/0.3528, allocations: 0.5935 MB / 0.5818 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/0.3536, allocations: 422.9 kB / 0.5822 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.3536, allocations: 5.156 kB / 0.5822 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.3536, allocations: 37.62 kB / 0.5823 GB, free: 32.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.014e-06/0.3536, allocations: 0 / 0.5823 GB, free: 32.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004144/0.3578, allocations: 2.052 MB / 0.5843 GB, free: 31.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.3578, allocations: 58.66 kB / 0.5843 GB, free: 31.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.3583, allocations: 453.9 kB / 0.5848 GB, free: 31.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.3583, allocations: 36.42 kB / 0.5848 GB, free: 31.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.3585, allocations: 385.9 kB / 0.5852 GB, free: 31.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.863e-05/0.3586, allocations: 154.9 kB / 0.5853 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.3588, allocations: 108.8 kB / 0.5854 GB, free: 31.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.3589, allocations: 368.4 kB / 0.5858 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.3592, allocations: 245.2 kB / 0.586 GB, free: 30.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.3596, allocations: 467.3 kB / 0.5865 GB, free: 30.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000799/0.3604, allocations: 0.7548 MB / 0.5872 GB, free: 29.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.3605, allocations: 2.156 kB / 0.5872 GB, free: 29.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001739/0.3622, allocations: 1.057 MB / 0.5882 GB, free: 29.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.3622, allocations: 9.062 kB / 0.5882 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3622, allocations: 6.625 kB / 0.5882 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009826/0.3632, allocations: 329.8 kB / 0.5886 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.3635, allocations: 97.81 kB / 0.5887 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005025/0.3686, allocations: 6.953 MB / 0.5954 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.3689, allocations: 33.97 kB / 0.5955 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.369, allocations: 25.7 kB / 0.5955 GB, free: 23.34 MB / 446.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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.3692, allocations: 245 kB / 0.5957 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.3693, allocations: 55.72 kB / 0.5958 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.3709, allocations: 0.9198 MB / 0.5967 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3709, allocations: 4.531 kB / 0.5967 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.3709, allocations: 6.188 kB / 0.5967 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3709, allocations: 2.344 kB / 0.5967 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.3733, allocations: 1.709 MB / 0.5984 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3734, allocations: 1.312 kB / 0.5984 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.3735, allocations: 42.19 kB / 0.5984 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009063/0.3744, allocations: 322.3 kB / 0.5987 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.3745, allocations: 12.5 kB / 0.5987 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.3795, allocations: 6.943 MB / 0.6055 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3795, allocations: 2.781 kB / 0.6055 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.3809, allocations: 1.012 MB / 0.6065 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.3811, allocations: 174.1 kB / 0.6067 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.3812, allocations: 17.5 kB / 0.6067 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.3814, allocations: 19.56 kB / 0.6067 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.746e-05/0.3816, allocations: 42.83 kB / 0.6067 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.3816, allocations: 10.25 kB / 0.6068 GB, free: 15.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002745/0.3819, allocations: 307.3 kB / 0.607 GB, free: 15.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3819, allocations: 0 / 0.607 GB, free: 15.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000674/0.3825, allocations: 193.5 kB / 0.6072 GB, free: 15.01 MB / 446.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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/0.3841, allocations: 1.566 MB / 0.6088 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.3856, allocations: 1.2 MB / 0.6099 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3856, allocations: 128 / 0.6099 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000962/0.3866, allocations: 0.8683 MB / 0.6108 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008466/0.3874, allocations: 180.1 kB / 0.611 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006813/0.3943, allocations: 6.229 MB / 0.617 GB, free: 8.715 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3947, allocations: 0.9855 MB / 0.618 GB, free: 7.984 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.395, allocations: 102.2 kB / 0.6181 GB, free: 7.965 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.3951, allocations: 228 kB / 0.6183 GB, free: 7.789 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3952, allocations: 0 / 0.6183 GB, free: 7.789 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.4181, allocations: 14.69 MB / 0.6327 GB, free: 13.65 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.4184, allocations: 230.2 kB / 0.6329 GB, free: 13.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.227, allocations: 3.938 kB / 0.6329 GB, free: 13.39 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)