Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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.0007672/0.0007672, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000805/0.000805, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8968/0.8968, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7076/0.7076, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.618 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.107e-05, allocations: 2.281 kB / 0.618 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004816/0.004837, allocations: 5.28 MB / 0.6232 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003074/0.00791, allocations: 2.595 MB / 0.6257 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003021/0.008212, allocations: 39.69 kB / 0.6258 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.009376, allocations: 0.6805 MB / 0.6264 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0009636/0.01034, allocations: 437.3 kB / 0.6269 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009021/0.01124, allocations: 425.2 kB / 0.6273 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.01243, allocations: 0.9824 MB / 0.6282 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005962/0.01302, allocations: 374.5 kB / 0.6286 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006329/0.01366, allocations: 0.526 MB / 0.6291 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.01406, allocations: 366.9 kB / 0.6294 GB, free: 1.953 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.889e-05/0.01412, allocations: 48 kB / 0.6295 GB, free: 1.906 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/0.01456, allocations: 331.1 kB / 0.6298 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.01474, allocations: 271.2 kB / 0.6301 GB, free: 1.316 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.01492, allocations: 235.4 kB / 0.6303 GB, free: 1.086 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0009276/0.01585, allocations: 1.001 MB / 0.6313 GB, free: 84 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.01585, allocations: 0 / 0.6313 GB, free: 84 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.163e-06/0.01585, allocations: 0 / 0.6313 GB, free: 84 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.01586, allocations: 0 / 0.6313 GB, free: 84 kB / 0.5886 GB 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.001063/0.01693, allocations: 0.9131 MB / 0.6322 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.01696, allocations: 13.47 kB / 0.6322 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.01707, allocations: 98.69 kB / 0.6323 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007661/0.01783, allocations: 212.1 kB / 0.6325 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.01841, allocations: 464.2 kB / 0.6329 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.01844, allocations: 37.36 kB / 0.6329 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.01853, allocations: 60.47 kB / 0.633 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.0194, allocations: 0.9751 MB / 0.6339 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.01942, allocations: 12.06 kB / 0.634 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.01945, allocations: 27.92 kB / 0.634 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.01956, allocations: 64.95 kB / 0.634 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006118/0.02017, allocations: 0.5736 MB / 0.6346 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.02278, allocations: 3.565 MB / 0.6381 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.02309, allocations: 283.1 kB / 0.6384 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.02328, allocations: 209.3 kB / 0.6386 GB, free: 8.277 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.0233, allocations: 8.281 kB / 0.6386 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.02332, allocations: 34.84 kB / 0.6386 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.212e-06/0.02333, allocations: 0 / 0.6386 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.003308/0.02663, allocations: 2.332 MB / 0.6409 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.02666, allocations: 55.41 kB / 0.6409 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.02699, allocations: 470 kB / 0.6414 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.02702, allocations: 37.7 kB / 0.6414 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.02717, allocations: 348.5 kB / 0.6417 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.368e-05/0.02726, allocations: 150.7 kB / 0.6419 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.02737, allocations: 106.3 kB / 0.642 GB, free: 4.664 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.02747, allocations: 362.7 kB / 0.6423 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.0277, allocations: 245.2 kB / 0.6426 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.028, allocations: 407.3 kB / 0.643 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.02856, allocations: 0.6779 MB / 0.6436 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.02857, allocations: 0 / 0.6436 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009938/0.02956, allocations: 0.921 MB / 0.6445 GB, free: 1.898 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.02957, allocations: 4 kB / 0.6445 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.02958, allocations: 8.656 kB / 0.6445 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/0.03001, allocations: 226.4 kB / 0.6448 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.03028, allocations: 119.7 kB / 0.6449 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/0.03333, allocations: 4.998 MB / 0.6497 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.03354, allocations: 32.09 kB / 0.6498 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.03356, allocations: 24 kB / 0.6498 GB, free: 12.14 MB / 0.6198 GB 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.0001788/0.03374, allocations: 225.6 kB / 0.65 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.03379, allocations: 55.67 kB / 0.6501 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008591/0.03465, allocations: 0.7772 MB / 0.6508 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.03466, allocations: 7.938 kB / 0.6508 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.03466, allocations: 4 kB / 0.6508 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.03466, allocations: 3.938 kB / 0.6508 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.03605, allocations: 1.395 MB / 0.6522 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.03605, allocations: 0 / 0.6522 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.03623, allocations: 75.88 kB / 0.6523 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/0.03657, allocations: 202.6 kB / 0.6525 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.03659, allocations: 8 kB / 0.6525 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.03945, allocations: 4.94 MB / 0.6573 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.03946, allocations: 4.031 kB / 0.6573 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.04051, allocations: 1.12 MB / 0.6584 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.04063, allocations: 91.66 kB / 0.6585 GB, free: 2.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.04067, allocations: 15.89 kB / 0.6585 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.04083, allocations: 32.09 kB / 0.6585 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.04091, allocations: 35.94 kB / 0.6586 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.04092, allocations: 20 kB / 0.6586 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002164/0.04114, allocations: 318.9 kB / 0.6589 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.04114, allocations: 0 / 0.6589 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004204/0.04156, allocations: 168 kB / 0.6591 GB, free: 2.156 MB / 0.6198 GB 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.001286/0.04285, allocations: 1.68 MB / 0.6607 GB, free: 428 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.0439, allocations: 0.9588 MB / 0.6616 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.666e-06/0.0439, allocations: 4.125 kB / 0.6616 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005138/0.04442, allocations: 0.6641 MB / 0.6623 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.04494, allocations: 175.4 kB / 0.6624 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.04968, allocations: 5.604 MB / 0.6679 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.05005, allocations: 354.3 kB / 0.6683 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.05025, allocations: 109 kB / 0.6684 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.05042, allocations: 216.4 kB / 0.6686 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.05042, allocations: 4 kB / 0.6686 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2903/0.3407, allocations: 15.8 MB / 0.684 GB, free: 95.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.831, allocations: 3.625 kB / 0.684 GB, free: 95.34 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.527950757183135] Failed to read output from testmodel.py, exit status != 0: 7.92143268417567 7.930866645 7.911612769 Calling exit ...