Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007639/0.0007639, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008024/0.0008024, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9721/0.9721, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7806/0.7806, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_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.001001/0.001001, allocations: 71.08 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5582, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01919/0.5774, allocations: 19.52 MB / 0.8369 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01047/0.5879, allocations: 6.483 MB / 0.8432 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.5903, allocations: 111 kB / 0.8433 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003759/0.5941, allocations: 2.257 MB / 0.8455 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.5982, allocations: 1.239 MB / 0.8467 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003736/0.6019, allocations: 1.293 MB / 0.848 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005931/0.6079, allocations: 4.846 MB / 0.8527 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004485/0.6124, allocations: 3.143 MB / 0.8558 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004235/0.6166, allocations: 2.16 MB / 0.8579 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00411/0.6207, allocations: 2.335 MB / 0.8602 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009174/0.6216, allocations: 430.9 kB / 0.8606 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.6237, allocations: 0.9453 MB / 0.8615 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.6254, allocations: 1.71 MB / 0.8632 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003277/0.6287, allocations: 1.551 MB / 0.8647 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008165/0.6369, allocations: 6.565 MB / 0.8711 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.6369, allocations: 0 / 0.8711 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.626e-06/0.6369, allocations: 9.031 kB / 0.8711 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002908/0.6372, allocations: 0 / 0.8711 GB, free: 14.36 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.009453/0.6466, allocations: 3.455 MB / 0.8745 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.949e-05/0.6467, allocations: 12.03 kB / 0.8745 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009031/0.6476, allocations: 458.5 kB / 0.8749 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/0.6501, allocations: 0.6545 MB / 0.8756 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003319/0.6534, allocations: 1.997 MB / 0.8775 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.6535, allocations: 214.3 kB / 0.8777 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003358/0.6539, allocations: 300.1 kB / 0.878 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00691/0.6608, allocations: 5.242 MB / 0.8831 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.738e-05/0.6609, allocations: 7.938 kB / 0.8831 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.6611, allocations: 128 kB / 0.8833 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003671/0.6615, allocations: 229.7 kB / 0.8835 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005954/0.6674, allocations: 3.746 MB / 0.8871 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01586/0.6833, allocations: 13.57 MB / 0.9004 GB, free: 208 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.6847, allocations: 1.23 MB / 0.9016 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008881/0.6856, allocations: 0.9841 MB / 0.9026 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-05/0.6856, allocations: 9 kB / 0.9026 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.6857, allocations: 47.56 kB / 0.9026 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 2.595e-06/0.6857, allocations: 7.938 kB / 0.9026 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.01342/0.6991, allocations: 8.428 MB / 0.9108 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.6991, allocations: 64.72 kB / 0.9109 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.7002, allocations: 1.15 MB / 0.912 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/0.7003, allocations: 49.7 kB / 0.9121 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006216/0.7009, allocations: 1.331 MB / 0.9134 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.7012, allocations: 0.5035 MB / 0.9139 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.7015, allocations: 291.5 kB / 0.9141 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.7016, allocations: 313.1 kB / 0.9144 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.7028, allocations: 0.9135 MB / 0.9153 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.7038, allocations: 1.318 MB / 0.9166 GB, free: 15.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.7059, allocations: 2.43 MB / 0.919 GB, free: 12.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.7059, allocations: 8 kB / 0.919 GB, free: 12.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004118/0.71, allocations: 3.441 MB / 0.9224 GB, free: 9.266 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.71, allocations: 8 kB / 0.9224 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.71, allocations: 12 kB / 0.9224 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/0.7119, allocations: 1.182 MB / 0.9235 GB, free: 8.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/0.7125, allocations: 259.6 kB / 0.9238 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.7247, allocations: 13.34 MB / 0.9368 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.7258, allocations: 91.97 kB / 0.9369 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.7259, allocations: 64.38 kB / 0.937 GB, free: 9.973 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.001779/0.7277, allocations: 1.118 MB / 0.938 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.728, allocations: 170.9 kB / 0.9382 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.7315, allocations: 3.13 MB / 0.9413 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.7315, allocations: 16 kB / 0.9413 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/0.7315, allocations: 19.94 kB / 0.9413 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.7315, allocations: 7.969 kB / 0.9413 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007099/0.7386, allocations: 5.905 MB / 0.9471 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.7386, allocations: 7.984 kB / 0.9471 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.739, allocations: 144.3 kB / 0.9472 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001878/0.7409, allocations: 1.075 MB / 0.9483 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/0.7409, allocations: 28 kB / 0.9483 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.7522, allocations: 13.04 MB / 0.961 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.7522, allocations: 11.88 kB / 0.961 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003649/0.7559, allocations: 3.128 MB / 0.9641 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000679/0.7566, allocations: 358.8 kB / 0.9644 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.7567, allocations: 35.94 kB / 0.9645 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.7571, allocations: 79.89 kB / 0.9645 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/0.7574, allocations: 132.6 kB / 0.9647 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.7574, allocations: 44 kB / 0.9647 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000764/0.7582, allocations: 0.7632 MB / 0.9655 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7582, allocations: 0 / 0.9655 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001707/0.7599, allocations: 0.6679 MB / 0.9661 GB, free: 11.52 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.003383/0.7633, allocations: 3.694 MB / 0.9697 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00344/0.7667, allocations: 3.009 MB / 0.9727 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7667, allocations: 192 / 0.9727 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.7686, allocations: 1.884 MB / 0.9745 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.77, allocations: 0.5044 MB / 0.975 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/0.7923, allocations: 19.18 MB / 0.9937 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/0.7941, allocations: 1.769 MB / 0.9954 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0008213/0.7949, allocations: 350.1 kB / 0.9958 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007965/0.7957, allocations: 1.011 MB / 0.9968 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of SimCode: time 1.493e-06/0.7957, allocations: 3.938 kB / 0.9968 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07774/0.8734, allocations: 55.86 MB / 1.051 GB, free: 4.109 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.665, allocations: 7.922 kB / 1.051 GB, free: 4.102 MB / 0.823 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.748762428760529] Failed to read output from testmodel.py, exit status != 0: 8.771774522028863 8.782789116 8.143092795 Calling exit ...