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.004453/0.004453, allocations: 101.6 kB / 15.88 MB, free: 6.312 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.00114/0.00114, allocations: 195.1 kB / 16.79 MB, free: 6.242 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.2/1.2, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6199/0.6199, allocations: 115.3 MB / 406 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 60.66 kB / 493 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1145, allocations: 76.18 MB / 0.5559 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006226/0.1207, allocations: 5.467 MB / 0.5612 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003719/0.1245, allocations: 2.634 MB / 0.5638 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000341/0.1248, allocations: 19.88 kB / 0.5638 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.1264, allocations: 0.6422 MB / 0.5644 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000781/0.1272, allocations: 378.2 kB / 0.5648 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.1279, allocations: 358.3 kB / 0.5651 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.129, allocations: 1.252 MB / 0.5663 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006509/0.1297, allocations: 458.2 kB / 0.5668 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004161/0.1301, allocations: 326.6 kB / 0.5671 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004798/0.1306, allocations: 418.4 kB / 0.5675 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.783e-05/0.1307, allocations: 32 kB / 0.5675 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006384/0.1313, allocations: 435.1 kB / 0.5679 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.1316, allocations: 235.3 kB / 0.5682 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.1319, allocations: 330.2 kB / 0.5685 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009256/0.1328, allocations: 0.9733 MB / 0.5694 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1328, allocations: 0 / 0.5694 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1328, allocations: 4 kB / 0.5694 GB, free: 12.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1329, allocations: 0 / 0.5694 GB, free: 12.77 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.00138/0.1342, allocations: 0.9659 MB / 0.5704 GB, free: 11.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1343, allocations: 8.031 kB / 0.5704 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.1344, allocations: 98.69 kB / 0.5705 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.1357, allocations: 203.8 kB / 0.5707 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/0.1363, allocations: 494.4 kB / 0.5711 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.1363, allocations: 37.38 kB / 0.5712 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.1364, allocations: 56.53 kB / 0.5712 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1375, allocations: 0.82 MB / 0.572 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.1375, allocations: 11.94 kB / 0.572 GB, free: 9.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.1375, allocations: 23.98 kB / 0.5721 GB, free: 9.887 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/0.1377, allocations: 60.95 kB / 0.5721 GB, free: 9.828 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007896/0.1385, allocations: 0.5736 MB / 0.5727 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003783/0.1423, allocations: 4.577 MB / 0.5771 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.1427, allocations: 295.3 kB / 0.5774 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.143, allocations: 229.3 kB / 0.5776 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1431, allocations: 4.281 kB / 0.5777 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1431, allocations: 38.78 kB / 0.5777 GB, free: 3.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.332e-06/0.1431, allocations: 0 / 0.5777 GB, free: 3.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005014/0.1481, allocations: 2.638 MB / 0.5803 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.1482, allocations: 55.41 kB / 0.5803 GB, free: 0.918 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.1486, allocations: 461.8 kB / 0.5808 GB, free: 468 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.1486, allocations: 33.7 kB / 0.5808 GB, free: 428 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.1488, allocations: 339.6 kB / 0.5811 GB, free: 80 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1806/0.3295, allocations: 139.9 kB / 0.5812 GB, free: 32.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.3297, allocations: 103.5 kB / 0.5813 GB, free: 32.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.607e-05/0.3298, allocations: 360.8 kB / 0.5817 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.3301, allocations: 237.7 kB / 0.5819 GB, free: 32.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.3305, allocations: 409.7 kB / 0.5823 GB, free: 32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.3312, allocations: 0.6728 MB / 0.583 GB, free: 31.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3312, allocations: 1.656 kB / 0.583 GB, free: 31.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001546/0.3328, allocations: 0.9287 MB / 0.5839 GB, free: 31.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3328, allocations: 6.469 kB / 0.5839 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3328, allocations: 6.25 kB / 0.5839 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007327/0.3336, allocations: 226.3 kB / 0.5841 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.334, allocations: 116.3 kB / 0.5842 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/0.3377, allocations: 4.927 MB / 0.589 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.3381, allocations: 33.5 kB / 0.5891 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.3381, allocations: 26.66 kB / 0.5891 GB, free: 27.16 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.0002408/0.3384, allocations: 225 kB / 0.5893 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.3385, allocations: 58.19 kB / 0.5894 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.3398, allocations: 0.7749 MB / 0.5901 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3398, allocations: 5.078 kB / 0.5901 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3399, allocations: 2.844 kB / 0.5901 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3399, allocations: 4.219 kB / 0.5901 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.342, allocations: 1.498 MB / 0.5916 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.342, allocations: 2.094 kB / 0.5916 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.3423, allocations: 71.14 kB / 0.5917 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006436/0.343, allocations: 203.3 kB / 0.5918 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.343, allocations: 17.58 kB / 0.5919 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003383/0.3464, allocations: 4.873 MB / 0.5966 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3464, allocations: 6.219 kB / 0.5966 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.348, allocations: 1.136 MB / 0.5977 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.3481, allocations: 167.2 kB / 0.5979 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/0.3482, allocations: 14.5 kB / 0.5979 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.3485, allocations: 29.41 kB / 0.5979 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.3486, allocations: 38.58 kB / 0.598 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.3486, allocations: 14.56 kB / 0.598 GB, free: 20.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002989/0.3489, allocations: 307.9 kB / 0.5983 GB, free: 20.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.349, allocations: 0 / 0.5983 GB, free: 20.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005792/0.3495, allocations: 170.5 kB / 0.5984 GB, free: 20.59 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.001731/0.3513, allocations: 1.697 MB / 0.6001 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.3526, allocations: 1 MB / 0.6011 GB, free: 18.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3527, allocations: 3.938 kB / 0.6011 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008064/0.3535, allocations: 0.6784 MB / 0.6017 GB, free: 18.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.3543, allocations: 166.2 kB / 0.6019 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.361, allocations: 5.906 MB / 0.6077 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.3614, allocations: 0.9503 MB / 0.6086 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000349/0.3617, allocations: 122.8 kB / 0.6087 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.3619, allocations: 206.2 kB / 0.6089 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3619, allocations: 0 / 0.6089 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8791/1.241, allocations: 13.48 MB / 0.6221 GB, free: 8.691 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/1.241, allocations: 222.4 kB / 0.6223 GB, free: 8.438 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/3.079, allocations: 4 kB / 0.6223 GB, free: 8.434 MB / 446.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)