Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_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.001267/0.001267, allocations: 102.3 kB / 15.98 MB, free: 6.348 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.001318/0.001318, allocations: 198.6 kB / 16.91 MB, free: 6.191 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.251/1.251, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6606/0.6606, allocations: 115.3 MB / 406.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 59.91 kB / 493.2 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2654, allocations: 76.17 MB / 0.556 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005091/0.2705, allocations: 5.471 MB / 0.5614 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.2733, allocations: 2.612 MB / 0.5639 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.2736, allocations: 24.06 kB / 0.5639 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.2749, allocations: 0.6227 MB / 0.5645 GB, free: 30.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005783/0.2755, allocations: 385.9 kB / 0.5649 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.2761, allocations: 354.1 kB / 0.5653 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006974/0.2768, allocations: 0.9534 MB / 0.5662 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005957/0.2774, allocations: 0.5253 MB / 0.5667 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.2778, allocations: 372.3 kB / 0.5671 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.2781, allocations: 417.5 kB / 0.5675 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.664e-05/0.2782, allocations: 48.78 kB / 0.5675 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.2787, allocations: 367.1 kB / 0.5678 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.2789, allocations: 244.7 kB / 0.5681 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.2791, allocations: 342.2 kB / 0.5684 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008643/0.28, allocations: 0.9882 MB / 0.5694 GB, free: 28.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.28, allocations: 5.469 kB / 0.5694 GB, free: 28.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.28, allocations: 1.031 kB / 0.5694 GB, free: 28.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.2801, allocations: 0 / 0.5694 GB, free: 28.43 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.001222/0.2813, allocations: 0.9674 MB / 0.5703 GB, free: 27.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2813, allocations: 14.52 kB / 0.5703 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.249e-05/0.2814, allocations: 96.08 kB / 0.5704 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.2826, allocations: 200.1 kB / 0.5706 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.2832, allocations: 488 kB / 0.5711 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.2832, allocations: 37.36 kB / 0.5711 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.2834, allocations: 61.89 kB / 0.5712 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009578/0.2843, allocations: 0.83 MB / 0.572 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.2843, allocations: 7.594 kB / 0.572 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.2844, allocations: 27.8 kB / 0.572 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/0.2846, allocations: 64.69 kB / 0.5721 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.2853, allocations: 0.5763 MB / 0.5727 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.2883, allocations: 4.575 MB / 0.5771 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.2887, allocations: 303.2 kB / 0.5774 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.289, allocations: 227.3 kB / 0.5776 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.289, allocations: 4.828 kB / 0.5776 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.2891, allocations: 37.62 kB / 0.5777 GB, free: 22.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.332e-06/0.2891, allocations: 0.5938 kB / 0.5777 GB, free: 22.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.004592/0.2937, allocations: 2.616 MB / 0.5802 GB, free: 21.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.2937, allocations: 59.91 kB / 0.5803 GB, free: 20.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.2941, allocations: 464.2 kB / 0.5807 GB, free: 20.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.2941, allocations: 33.23 kB / 0.5808 GB, free: 20.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.2943, allocations: 340.9 kB / 0.5811 GB, free: 20.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.763e-05/0.2944, allocations: 144.7 kB / 0.5812 GB, free: 20.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.2945, allocations: 106.1 kB / 0.5813 GB, free: 20.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.607e-05/0.2946, allocations: 362 kB / 0.5817 GB, free: 19.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.2949, allocations: 237.1 kB / 0.5819 GB, free: 19.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.2953, allocations: 407.2 kB / 0.5823 GB, free: 19.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.2959, allocations: 0.682 MB / 0.5829 GB, free: 19.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.296, allocations: 1.344 kB / 0.5829 GB, free: 19.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001449/0.2974, allocations: 0.9225 MB / 0.5838 GB, free: 18.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2974, allocations: 8.625 kB / 0.5839 GB, free: 18.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2974, allocations: 6.406 kB / 0.5839 GB, free: 18.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006891/0.2981, allocations: 232.8 kB / 0.5841 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.2986, allocations: 111.3 kB / 0.5842 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.3022, allocations: 5.33 MB / 0.5894 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.3026, allocations: 30.2 kB / 0.5894 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.3027, allocations: 26.95 kB / 0.5894 GB, free: 13.96 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.0002067/0.3029, allocations: 227.1 kB / 0.5897 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.16e-05/0.303, allocations: 58.78 kB / 0.5897 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.3043, allocations: 0.7778 MB / 0.5905 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3043, allocations: 8 kB / 0.5905 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3043, allocations: 6.609 kB / 0.5905 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3043, allocations: 1.125 kB / 0.5905 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.3062, allocations: 1.498 MB / 0.592 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.3063, allocations: 1.531 kB / 0.592 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.3066, allocations: 73.5 kB / 0.592 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005742/0.3072, allocations: 201.6 kB / 0.5922 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.3072, allocations: 13.25 kB / 0.5922 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003281/0.3105, allocations: 5.29 MB / 0.5974 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3105, allocations: 2.594 kB / 0.5974 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.3119, allocations: 1.134 MB / 0.5985 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.3121, allocations: 169.2 kB / 0.5987 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.3122, allocations: 12.97 kB / 0.5987 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.3125, allocations: 24.09 kB / 0.5987 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.3126, allocations: 35.77 kB / 0.5987 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.3126, allocations: 13.62 kB / 0.5988 GB, free: 6.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002458/0.3129, allocations: 314.8 kB / 0.5991 GB, free: 6.141 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3129, allocations: 0 / 0.5991 GB, free: 6.141 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005792/0.3135, allocations: 166.4 kB / 0.5992 GB, free: 6.125 MB / 446.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.001547/0.315, allocations: 1.691 MB / 0.6009 GB, free: 4.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.3162, allocations: 1.063 MB / 0.6019 GB, free: 3.664 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3162, allocations: 0 / 0.6019 GB, free: 3.664 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.3169, allocations: 0.6721 MB / 0.6026 GB, free: 2.953 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.3177, allocations: 178.9 kB / 0.6027 GB, free: 2.785 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006214/0.3239, allocations: 5.918 MB / 0.6085 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.3243, allocations: 0.9532 MB / 0.6094 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003383/0.3247, allocations: 116.9 kB / 0.6095 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.3249, allocations: 207.4 kB / 0.6097 GB, free: 11.28 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3249, allocations: 0 / 0.6097 GB, free: 11.28 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.619/1.944, allocations: 13.89 MB / 0.6233 GB, free: 13.69 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/1.944, allocations: 222.8 kB / 0.6235 GB, free: 13.44 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/4.448, allocations: 0 / 0.6235 GB, free: 13.44 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)