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.001064/0.001064, allocations: 101.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.001164/0.001164, 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.214/1.214, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6998/0.6998, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3009, allocations: 77.92 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005733/0.3067, allocations: 5.457 MB / 0.5726 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003519/0.3102, allocations: 2.616 MB / 0.5752 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.3105, allocations: 22.69 kB / 0.5752 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.3121, allocations: 0.6783 MB / 0.5759 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008283/0.3129, allocations: 408.4 kB / 0.5762 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008694/0.3138, allocations: 400.8 kB / 0.5766 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008018/0.3146, allocations: 0.9478 MB / 0.5776 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005534/0.3152, allocations: 473.4 kB / 0.578 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.3156, allocations: 366 kB / 0.5784 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.316, allocations: 401 kB / 0.5787 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.66e-05/0.3161, allocations: 47.84 kB / 0.5788 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006319/0.3167, allocations: 367.8 kB / 0.5791 GB, free: 25.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.317, allocations: 248.6 kB / 0.5794 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.3172, allocations: 350.8 kB / 0.5797 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009134/0.3182, allocations: 0.957 MB / 0.5806 GB, free: 24.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3182, allocations: 0 / 0.5806 GB, free: 24.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3182, allocations: 2 kB / 0.5806 GB, free: 24.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.3182, allocations: 0 / 0.5806 GB, free: 24.64 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.001229/0.3194, allocations: 0.9776 MB / 0.5816 GB, free: 23.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3195, allocations: 9.469 kB / 0.5816 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.683e-05/0.3196, allocations: 100.3 kB / 0.5817 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.3208, allocations: 193.3 kB / 0.5819 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005213/0.3214, allocations: 487.9 kB / 0.5824 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.3214, allocations: 38.12 kB / 0.5824 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.3215, allocations: 55.88 kB / 0.5824 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009269/0.3225, allocations: 0.8333 MB / 0.5833 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.3225, allocations: 2.938 kB / 0.5833 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.3226, allocations: 25.88 kB / 0.5833 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/0.3227, allocations: 62.08 kB / 0.5833 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.3234, allocations: 0.5725 MB / 0.5839 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.3264, allocations: 4.587 MB / 0.5884 GB, free: 18.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.3268, allocations: 288 kB / 0.5887 GB, free: 17.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.3271, allocations: 230.3 kB / 0.5889 GB, free: 17.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3271, allocations: 5.375 kB / 0.5889 GB, free: 17.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3271, allocations: 37.81 kB / 0.5889 GB, free: 17.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.442e-06/0.3271, allocations: 0.6875 kB / 0.5889 GB, free: 17.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.004796/0.3319, allocations: 2.63 MB / 0.5915 GB, free: 16.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.332, allocations: 56.88 kB / 0.5915 GB, free: 15.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.3324, allocations: 452.1 kB / 0.592 GB, free: 15.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.3324, allocations: 39.83 kB / 0.592 GB, free: 15.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.3325, allocations: 344.4 kB / 0.5923 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/0.3326, allocations: 147 kB / 0.5925 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3328, allocations: 102.3 kB / 0.5926 GB, free: 15.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.3328, allocations: 359.5 kB / 0.5929 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.3331, allocations: 239.5 kB / 0.5931 GB, free: 14.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.3335, allocations: 414.8 kB / 0.5935 GB, free: 14.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/0.3342, allocations: 0.6725 MB / 0.5942 GB, free: 13.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3342, allocations: 9.438 kB / 0.5942 GB, free: 13.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001435/0.3356, allocations: 0.9165 MB / 0.5951 GB, free: 13.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3357, allocations: 8.062 kB / 0.5951 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.3357, allocations: 6.062 kB / 0.5951 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006825/0.3364, allocations: 230.6 kB / 0.5953 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.3368, allocations: 115.8 kB / 0.5954 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.3402, allocations: 5.347 MB / 0.6007 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.3406, allocations: 27.97 kB / 0.6007 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.3407, allocations: 24 kB / 0.6007 GB, free: 7.297 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.0002624/0.3409, allocations: 217.6 kB / 0.6009 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/0.341, allocations: 63.28 kB / 0.601 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.3422, allocations: 0.7735 MB / 0.6017 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3422, allocations: 4 kB / 0.6017 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3423, allocations: 0 / 0.6017 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3423, allocations: 11.92 kB / 0.6018 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.3441, allocations: 1.496 MB / 0.6032 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3441, allocations: 0 / 0.6032 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.3444, allocations: 59.95 kB / 0.6033 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005569/0.345, allocations: 214.5 kB / 0.6035 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.345, allocations: 12 kB / 0.6035 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003576/0.3486, allocations: 5.289 MB / 0.6087 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3486, allocations: 4.031 kB / 0.6087 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.3502, allocations: 1.129 MB / 0.6098 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.3505, allocations: 180.3 kB / 0.6099 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.3506, allocations: 8 kB / 0.6099 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.3509, allocations: 23.97 kB / 0.61 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.3509, allocations: 40.02 kB / 0.61 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.351, allocations: 15.94 kB / 0.61 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002922/0.3513, allocations: 310.9 kB / 0.6103 GB, free: 12.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3513, allocations: 0 / 0.6103 GB, free: 12.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006257/0.3519, allocations: 168 kB / 0.6105 GB, free: 12.69 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.001837/0.3538, allocations: 1.688 MB / 0.6121 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.3553, allocations: 1.064 MB / 0.6132 GB, free: 9.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3554, allocations: 0 / 0.6132 GB, free: 9.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008634/0.3562, allocations: 0.676 MB / 0.6138 GB, free: 9.125 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008376/0.3571, allocations: 184.3 kB / 0.614 GB, free: 8.953 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007026/0.3641, allocations: 5.691 MB / 0.6196 GB, free: 2.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.3646, allocations: 0.9455 MB / 0.6205 GB, free: 2.004 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003551/0.3649, allocations: 109 kB / 0.6206 GB, free: 1.898 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.3652, allocations: 211.4 kB / 0.6208 GB, free: 1.691 MB / 462.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3652, allocations: 0 / 0.6208 GB, free: 1.691 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1889/0.5541, allocations: 13.92 MB / 0.6344 GB, free: 4.051 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/9.199, allocations: 10.23 kB / 0.6344 GB, free: 4.043 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)