Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.0008269/0.0008269, 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.0009923/0.0009923, 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.9539/0.9539, 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.7865/0.7865, 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,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001328/0.001328, allocations: 71.08 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5177, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02225/0.5399, allocations: 25.57 MB / 0.8428 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.5529, allocations: 8.089 MB / 0.8507 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003106/0.556, allocations: 153.7 kB / 0.8508 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00469/0.5607, allocations: 2.781 MB / 0.8535 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004884/0.5656, allocations: 1.662 MB / 0.8552 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003975/0.5695, allocations: 1.684 MB / 0.8568 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007537/0.5771, allocations: 6.147 MB / 0.8628 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005414/0.5825, allocations: 3.737 MB / 0.8665 GB, free: 164 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004975/0.5875, allocations: 2.674 MB / 0.8691 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005103/0.5926, allocations: 2.823 MB / 0.8718 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.5941, allocations: 0.5079 MB / 0.8723 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.5974, allocations: 1.195 MB / 0.8735 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002489/0.5999, allocations: 2.1 MB / 0.8755 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004023/0.6039, allocations: 1.934 MB / 0.8774 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008154/0.612, allocations: 8.118 MB / 0.8854 GB, free: 296 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.6121, allocations: 0 / 0.8854 GB, free: 296 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6121, allocations: 0 / 0.8854 GB, free: 296 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003022/0.6124, allocations: 0 / 0.8854 GB, free: 296 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008277/0.6206, allocations: 4.256 MB / 0.8895 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.6207, allocations: 16.02 kB / 0.8895 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006738/0.6214, allocations: 0.5343 MB / 0.89 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/0.6243, allocations: 0.8257 MB / 0.8909 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.6282, allocations: 2.53 MB / 0.8933 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.6284, allocations: 271.6 kB / 0.8936 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005185/0.6289, allocations: 380.4 kB / 0.8939 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009276/0.6382, allocations: 6.448 MB / 0.9002 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.292e-05/0.6383, allocations: 19.83 kB / 0.9003 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002952/0.6386, allocations: 164 kB / 0.9004 GB, free: 376 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004166/0.639, allocations: 282.9 kB / 0.9007 GB, free: 92 kB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007583/0.6466, allocations: 4.512 MB / 0.9051 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01952/0.6661, allocations: 18 MB / 0.9227 GB, free: 9.043 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.6672, allocations: 1.052 MB / 0.9237 GB, free: 7.977 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.6683, allocations: 0.9641 MB / 0.9246 GB, free: 7.012 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.362e-05/0.6684, allocations: 9 kB / 0.9247 GB, free: 7.004 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.6684, allocations: 63.36 kB / 0.9247 GB, free: 6.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 3.647e-06/0.6684, allocations: 0 / 0.9247 GB, free: 6.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=131): time 0.01331/0.6817, allocations: 9.093 MB / 0.9336 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.6818, allocations: 64.72 kB / 0.9337 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.6833, allocations: 1.533 MB / 0.9352 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/0.6834, allocations: 53.7 kB / 0.9352 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009141/0.6843, allocations: 1.715 MB / 0.9369 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.6846, allocations: 491.8 kB / 0.9373 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003728/0.685, allocations: 327.4 kB / 0.9377 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004417/0.6855, allocations: 305.1 kB / 0.9379 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009404/0.6864, allocations: 0.9174 MB / 0.9388 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.6875, allocations: 1.459 MB / 0.9403 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/0.6898, allocations: 2.546 MB / 0.9428 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.6898, allocations: 4 kB / 0.9428 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00412/0.6939, allocations: 3.279 MB / 0.946 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.6939, allocations: 12 kB / 0.946 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.6939, allocations: 16 kB / 0.946 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.6952, allocations: 0.7419 MB / 0.9467 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/0.696, allocations: 383.4 kB / 0.9471 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.7067, allocations: 16.03 MB / 0.9627 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.7081, allocations: 99.91 kB / 0.9628 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.7082, allocations: 76 kB / 0.9629 GB, free: 14.14 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.002032/0.7102, allocations: 1.309 MB / 0.9642 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/0.7106, allocations: 214.8 kB / 0.9644 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/0.7142, allocations: 2.761 MB / 0.9671 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.7142, allocations: 12 kB / 0.9671 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/0.7142, allocations: 12 kB / 0.9671 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.7142, allocations: 7.969 kB / 0.9671 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007775/0.722, allocations: 5.893 MB / 0.9729 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.722, allocations: 8 kB / 0.9729 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/0.7226, allocations: 227.6 kB / 0.9731 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.7237, allocations: 0.671 MB / 0.9737 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.387e-05/0.7238, allocations: 31.98 kB / 0.9738 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009872/0.7336, allocations: 15.77 MB / 0.9892 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.7337, allocations: 7.938 kB / 0.9892 GB, free: 1.949 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/0.7383, allocations: 3.986 MB / 0.9931 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008463/0.7391, allocations: 386.6 kB / 0.9934 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.7393, allocations: 43.83 kB / 0.9935 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/0.7398, allocations: 83.89 kB / 0.9936 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.7401, allocations: 120.6 kB / 0.9937 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.863e-05/0.7401, allocations: 43.98 kB / 0.9937 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001064/0.7412, allocations: 0.9942 MB / 0.9947 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7412, allocations: 3.938 kB / 0.9947 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001862/0.7431, allocations: 0.6836 MB / 0.9954 GB, free: 11.52 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.004262/0.7473, allocations: 4.589 MB / 0.9998 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003942/0.7513, allocations: 3.382 MB / 1.003 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.7513, allocations: 3.938 kB / 1.003 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.7533, allocations: 2.237 MB / 1.005 GB, free: 0.9531 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.7553, allocations: 0.6831 MB / 1.006 GB, free: 320 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/0.7823, allocations: 21.29 MB / 1.027 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/0.7848, allocations: 2.117 MB / 1.029 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001233/0.786, allocations: 481.4 kB / 1.029 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.7871, allocations: 1.28 MB / 1.031 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of SimCode: time 2.454e-06/0.7871, allocations: 4 kB / 1.031 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/0.9007, allocations: 61.42 MB / 1.091 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.935, allocations: 7.922 kB / 1.091 GB, free: 9.504 MB / 0.8698 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.024695759639144] Failed to read output from testmodel.py, exit status != 0: 9.041286449879408 9.050981169 8.435904151999999 Calling exit ...