Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.001655/0.001655, allocations: 103.3 kB / 16.27 MB, free: 5.977 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.001712/0.001712, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.272/1.272, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.706/0.706, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 63.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2995, allocations: 77.92 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00592/0.3055, allocations: 5.518 MB / 0.5727 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003524/0.309, allocations: 2.646 MB / 0.5753 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.3094, allocations: 23.41 kB / 0.5753 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.3109, allocations: 0.6843 MB / 0.576 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008122/0.3117, allocations: 409.3 kB / 0.5763 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008954/0.3126, allocations: 407.7 kB / 0.5767 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008062/0.3135, allocations: 0.9552 MB / 0.5777 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005471/0.314, allocations: 474.7 kB / 0.5781 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.3144, allocations: 369.9 kB / 0.5785 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.3148, allocations: 409.3 kB / 0.5789 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.796e-05/0.3149, allocations: 48.22 kB / 0.5789 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005992/0.3155, allocations: 361.4 kB / 0.5793 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.3158, allocations: 251.8 kB / 0.5795 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.316, allocations: 353.9 kB / 0.5798 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008118/0.3169, allocations: 0.9563 MB / 0.5808 GB, free: 24.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3169, allocations: 2.344 kB / 0.5808 GB, free: 24.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3169, allocations: 0 / 0.5808 GB, free: 24.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3169, allocations: 2.688 kB / 0.5808 GB, free: 24.52 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001239/0.3181, allocations: 0.9762 MB / 0.5817 GB, free: 23.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.3182, allocations: 10.94 kB / 0.5817 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.535e-05/0.3183, allocations: 103.1 kB / 0.5818 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.3195, allocations: 193.5 kB / 0.582 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.3201, allocations: 490.5 kB / 0.5825 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.3201, allocations: 43.27 kB / 0.5825 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.3203, allocations: 54.48 kB / 0.5826 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008946/0.3212, allocations: 0.8319 MB / 0.5834 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.3212, allocations: 2.312 kB / 0.5834 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.3213, allocations: 22.86 kB / 0.5834 GB, free: 22.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001792/0.3214, allocations: 73.36 kB / 0.5835 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.3222, allocations: 0.5714 MB / 0.584 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/0.3252, allocations: 4.576 MB / 0.5885 GB, free: 17.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.3256, allocations: 303.8 kB / 0.5888 GB, free: 17.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.3259, allocations: 226.9 kB / 0.589 GB, free: 17.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.3259, allocations: 12.84 kB / 0.589 GB, free: 17.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.3259, allocations: 33.97 kB / 0.5891 GB, free: 17.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.3259, allocations: 0 / 0.5891 GB, free: 17.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.004831/0.3308, allocations: 2.647 MB / 0.5916 GB, free: 15.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/0.3308, allocations: 54.72 kB / 0.5917 GB, free: 15.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.3312, allocations: 465.4 kB / 0.5921 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.3312, allocations: 31.73 kB / 0.5922 GB, free: 15.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3314, allocations: 344.3 kB / 0.5925 GB, free: 15.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.29e-05/0.3315, allocations: 145 kB / 0.5926 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.3316, allocations: 109.9 kB / 0.5927 GB, free: 15.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.3317, allocations: 358.8 kB / 0.5931 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.332, allocations: 243.2 kB / 0.5933 GB, free: 14.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.3323, allocations: 406.2 kB / 0.5937 GB, free: 14.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.333, allocations: 0.6726 MB / 0.5944 GB, free: 13.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.333, allocations: 2.25 kB / 0.5944 GB, free: 13.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00142/0.3345, allocations: 0.9238 MB / 0.5953 GB, free: 13.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3345, allocations: 7.531 kB / 0.5953 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3345, allocations: 5.406 kB / 0.5953 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006984/0.3352, allocations: 226.3 kB / 0.5955 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.3357, allocations: 115.8 kB / 0.5956 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003404/0.3391, allocations: 5.335 MB / 0.6008 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.3395, allocations: 31.97 kB / 0.6008 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.3395, allocations: 27.98 kB / 0.6009 GB, free: 7.129 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002293/0.3398, allocations: 225.7 kB / 0.6011 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/0.3399, allocations: 59.28 kB / 0.6011 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.341, allocations: 0.7698 MB / 0.6019 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3411, allocations: 4 kB / 0.6019 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.3411, allocations: 4 kB / 0.6019 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3411, allocations: 3.984 kB / 0.6019 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.3429, allocations: 1.501 MB / 0.6034 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3429, allocations: 0 / 0.6034 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.3433, allocations: 64.08 kB / 0.6034 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005584/0.3438, allocations: 218.7 kB / 0.6036 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.3439, allocations: 12 kB / 0.6037 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00355/0.3474, allocations: 5.277 MB / 0.6088 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.3474, allocations: 4.031 kB / 0.6088 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.349, allocations: 1.137 MB / 0.6099 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.3493, allocations: 176.4 kB / 0.6101 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.3493, allocations: 8 kB / 0.6101 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.3496, allocations: 27.91 kB / 0.6101 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.3497, allocations: 35.95 kB / 0.6102 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.3498, allocations: 16.06 kB / 0.6102 GB, free: 12.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002943/0.3501, allocations: 314.9 kB / 0.6105 GB, free: 12.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3501, allocations: 0 / 0.6105 GB, free: 12.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006358/0.3507, allocations: 172 kB / 0.6106 GB, free: 12.51 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00186/0.3526, allocations: 1.689 MB / 0.6123 GB, free: 10.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.3541, allocations: 1.067 MB / 0.6133 GB, free: 9.656 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3541, allocations: 0 / 0.6133 GB, free: 9.656 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000879/0.355, allocations: 0.6798 MB / 0.614 GB, free: 8.938 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000837/0.3558, allocations: 182.8 kB / 0.6142 GB, free: 8.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00677/0.3626, allocations: 5.713 MB / 0.6197 GB, free: 2.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.3631, allocations: 0.9494 MB / 0.6207 GB, free: 1.793 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003528/0.3635, allocations: 117 kB / 0.6208 GB, free: 1.676 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.3637, allocations: 215.4 kB / 0.621 GB, free: 1.465 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3637, allocations: 0 / 0.621 GB, free: 1.465 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.4032, allocations: 14 MB / 0.6347 GB, free: 3.766 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.87, allocations: 7.734 kB / 0.6347 GB, free: 3.762 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)