Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008945/0.0008945, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 216.5 kB / 22.25 MB, free: 3.727 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9809/0.9809, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7904/0.7904, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008881/0.0008881, allocations: 65.62 kB / 0.7178 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5455, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01814/0.5637, allocations: 19.51 MB / 0.8364 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00988/0.5735, allocations: 6.479 MB / 0.8428 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.5746, allocations: 114.5 kB / 0.8429 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003086/0.5777, allocations: 2.254 MB / 0.8451 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.5796, allocations: 1.24 MB / 0.8463 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.5815, allocations: 1.293 MB / 0.8476 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00357/0.5851, allocations: 4.85 MB / 0.8523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003415/0.5885, allocations: 3.139 MB / 0.8554 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.5907, allocations: 2.157 MB / 0.8575 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.5931, allocations: 2.343 MB / 0.8598 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005751/0.5936, allocations: 429.3 kB / 0.8602 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.595, allocations: 0.9375 MB / 0.8611 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.5961, allocations: 1.712 MB / 0.8627 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.5978, allocations: 1.55 MB / 0.8643 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005005/0.6028, allocations: 6.569 MB / 0.8707 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.6028, allocations: 0.9375 kB / 0.8707 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6028, allocations: 0 / 0.8707 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001345/0.6029, allocations: 0 / 0.8707 GB, free: 14.66 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005152/0.6081, allocations: 3.462 MB / 0.8741 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.6081, allocations: 12.03 kB / 0.8741 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004252/0.6085, allocations: 458.5 kB / 0.8745 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.6106, allocations: 0.6506 MB / 0.8751 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.6132, allocations: 1.997 MB / 0.8771 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.6133, allocations: 218.3 kB / 0.8773 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002939/0.6136, allocations: 300 kB / 0.8776 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005437/0.619, allocations: 5.238 MB / 0.8827 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.703e-05/0.6191, allocations: 15.88 kB / 0.8827 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.6193, allocations: 124 kB / 0.8828 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/0.6195, allocations: 229.7 kB / 0.8831 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/0.6233, allocations: 3.746 MB / 0.8867 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.6345, allocations: 13.57 MB / 0.9 GB, free: 0.6016 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.6356, allocations: 1.235 MB / 0.9012 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008891/0.6365, allocations: 0.988 MB / 0.9021 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/0.6365, allocations: 16.94 kB / 0.9022 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.6366, allocations: 47.5 kB / 0.9022 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 1.873e-06/0.6366, allocations: 0 / 0.9022 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.01309/0.6497, allocations: 8.424 MB / 0.9104 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.6497, allocations: 68.72 kB / 0.9105 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.651, allocations: 1.154 MB / 0.9116 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.69e-05/0.6511, allocations: 49.7 kB / 0.9117 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005882/0.6517, allocations: 1.335 MB / 0.913 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.6519, allocations: 0.4957 MB / 0.9135 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/0.6522, allocations: 291.5 kB / 0.9137 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.6523, allocations: 313 kB / 0.914 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008852/0.6532, allocations: 0.9135 MB / 0.9149 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.6542, allocations: 1.33 MB / 0.9162 GB, free: 15.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002388/0.6566, allocations: 2.426 MB / 0.9186 GB, free: 13.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.6566, allocations: 4 kB / 0.9186 GB, free: 13.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003635/0.6602, allocations: 3.429 MB / 0.9219 GB, free: 9.664 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.6603, allocations: 13 kB / 0.922 GB, free: 9.652 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.6603, allocations: 12 kB / 0.922 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/0.6622, allocations: 1.181 MB / 0.9231 GB, free: 8.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.6627, allocations: 259.6 kB / 0.9234 GB, free: 8.199 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.6743, allocations: 13.35 MB / 0.9364 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/0.6751, allocations: 87.97 kB / 0.9365 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.551e-05/0.6752, allocations: 67.98 kB / 0.9366 GB, free: 10.35 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001655/0.6768, allocations: 1.11 MB / 0.9376 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.677, allocations: 170.9 kB / 0.9378 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003432/0.6804, allocations: 3.13 MB / 0.9409 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.6804, allocations: 16 kB / 0.9409 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.6804, allocations: 15.94 kB / 0.9409 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.6804, allocations: 7.969 kB / 0.9409 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006317/0.6867, allocations: 5.905 MB / 0.9467 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.6868, allocations: 4 kB / 0.9467 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.6871, allocations: 147.8 kB / 0.9468 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.6886, allocations: 1.071 MB / 0.9479 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/0.6887, allocations: 24 kB / 0.9479 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.699, allocations: 13.05 MB / 0.9606 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.699, allocations: 4 kB / 0.9606 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.7024, allocations: 3.131 MB / 0.9637 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005805/0.703, allocations: 358.8 kB / 0.964 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.7031, allocations: 35.94 kB / 0.9641 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.7035, allocations: 79.89 kB / 0.9641 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.7037, allocations: 136.6 kB / 0.9643 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.7037, allocations: 36 kB / 0.9643 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007689/0.7045, allocations: 0.7709 MB / 0.965 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7045, allocations: 0 / 0.965 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001768/0.7063, allocations: 0.6602 MB / 0.9657 GB, free: 11.92 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003377/0.7097, allocations: 3.694 MB / 0.9693 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00298/0.7126, allocations: 3.013 MB / 0.9722 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7126, allocations: 4 kB / 0.9722 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.7144, allocations: 1.885 MB / 0.9741 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.7156, allocations: 0.495 MB / 0.9746 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/0.7347, allocations: 19.18 MB / 0.9933 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.7363, allocations: 1.765 MB / 0.995 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000671/0.7369, allocations: 358.1 kB / 0.9954 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007579/0.7377, allocations: 1.007 MB / 0.9964 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of SimCode: time 1.202e-06/0.7377, allocations: 0 / 0.9964 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08113/0.8188, allocations: 55.85 MB / 1.051 GB, free: 4.547 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/8.546, allocations: 11.94 kB / 1.051 GB, free: 4.535 MB / 0.823 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.610346975270659] Failed to read output from testmodel.py, exit status != 0: 8.647448236588389 8.656735618999999 8.052086125 Calling exit ...