Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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.001015/0.001015, 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.0008818/0.0008818, 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.9178/0.9178, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7034/0.7034, allocations: 154.5 MB / 413.7 MB, free: 0.832 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.37e-05, allocations: 8.859 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005347/0.005371, allocations: 5.191 MB / 0.6231 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003365/0.008736, allocations: 2.583 MB / 0.6256 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004237/0.00916, allocations: 31.69 kB / 0.6257 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.0102, allocations: 0.6798 MB / 0.6263 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0008175/0.01102, allocations: 441.3 kB / 0.6268 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008116/0.01183, allocations: 410.1 kB / 0.6271 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0009413/0.01277, allocations: 0.9785 MB / 0.6281 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.01327, allocations: 370.5 kB / 0.6285 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005879/0.01385, allocations: 0.522 MB / 0.629 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.01425, allocations: 367 kB / 0.6293 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.0143, allocations: 48 kB / 0.6294 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006254/0.01493, allocations: 335.1 kB / 0.6297 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.01512, allocations: 263.2 kB / 0.6299 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.0153, allocations: 243.4 kB / 0.6302 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0009158/0.01621, allocations: 0.9929 MB / 0.6311 GB, free: 280 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01622, allocations: 0 / 0.6311 GB, free: 280 kB / 0.5886 GB Notification: Performance of FrontEnd: time 2.004e-06/0.01622, allocations: 3.938 kB / 0.6311 GB, free: 276 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.01623, allocations: 4 kB / 0.6311 GB, free: 272 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.001195/0.01743, allocations: 0.9053 MB / 0.632 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.01748, allocations: 9.469 kB / 0.632 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.955e-05/0.01757, allocations: 102.7 kB / 0.6321 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007441/0.01832, allocations: 196.3 kB / 0.6323 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.01887, allocations: 458.9 kB / 0.6328 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.0189, allocations: 41.38 kB / 0.6328 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.01901, allocations: 48.55 kB / 0.6328 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000847/0.01986, allocations: 0.9789 MB / 0.6338 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.01988, allocations: 4.188 kB / 0.6338 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.01992, allocations: 23.94 kB / 0.6338 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.02005, allocations: 68.94 kB / 0.6339 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.02072, allocations: 0.5735 MB / 0.6345 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.02353, allocations: 3.561 MB / 0.6379 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.02387, allocations: 283.2 kB / 0.6382 GB, free: 8.711 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.02406, allocations: 209.2 kB / 0.6384 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.02409, allocations: 8.281 kB / 0.6384 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.02412, allocations: 38.84 kB / 0.6384 GB, free: 8.449 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.844e-06/0.02412, allocations: 3.938 kB / 0.6384 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.003329/0.02745, allocations: 2.332 MB / 0.6407 GB, free: 6.062 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.02748, allocations: 55.41 kB / 0.6408 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.02784, allocations: 469.9 kB / 0.6412 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.02786, allocations: 29.7 kB / 0.6413 GB, free: 5.492 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.02802, allocations: 352.5 kB / 0.6416 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.65e-05/0.02811, allocations: 146.7 kB / 0.6417 GB, free: 5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.02823, allocations: 114.2 kB / 0.6418 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.02834, allocations: 362.7 kB / 0.6422 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.02858, allocations: 241.1 kB / 0.6424 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.02888, allocations: 411.4 kB / 0.6428 GB, free: 3.805 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.02947, allocations: 0.67 MB / 0.6435 GB, free: 3.062 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02947, allocations: 4 kB / 0.6435 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001049/0.03052, allocations: 0.9132 MB / 0.6444 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.03054, allocations: 8 kB / 0.6444 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.03055, allocations: 12.58 kB / 0.6444 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004399/0.03099, allocations: 222.4 kB / 0.6446 GB, free: 1.883 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.03129, allocations: 119.8 kB / 0.6447 GB, free: 1.766 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/0.03456, allocations: 5.002 MB / 0.6496 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.03484, allocations: 35.95 kB / 0.6496 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.03487, allocations: 20 kB / 0.6496 GB, free: 12.37 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.0002405/0.03511, allocations: 221.6 kB / 0.6499 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.03517, allocations: 59.62 kB / 0.6499 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009475/0.03612, allocations: 0.7695 MB / 0.6507 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.03612, allocations: 7.938 kB / 0.6507 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.03613, allocations: 0 / 0.6507 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.03613, allocations: 3.984 kB / 0.6507 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.03768, allocations: 1.399 MB / 0.652 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.03768, allocations: 0 / 0.652 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.03789, allocations: 75.88 kB / 0.6521 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/0.03827, allocations: 206.5 kB / 0.6523 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.03829, allocations: 8 kB / 0.6523 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002965/0.04126, allocations: 4.924 MB / 0.6571 GB, free: 4.234 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.04126, allocations: 7.969 kB / 0.6571 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.04236, allocations: 1.116 MB / 0.6582 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.04251, allocations: 95.66 kB / 0.6583 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.04255, allocations: 12.17 kB / 0.6583 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.04271, allocations: 31.91 kB / 0.6584 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.0428, allocations: 39.88 kB / 0.6584 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.04281, allocations: 16 kB / 0.6584 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002332/0.04305, allocations: 314.9 kB / 0.6587 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.04305, allocations: 0 / 0.6587 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005133/0.04356, allocations: 164 kB / 0.6589 GB, free: 2.406 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.001249/0.04481, allocations: 1.688 MB / 0.6605 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.04591, allocations: 0.9549 MB / 0.6614 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.04591, allocations: 4.125 kB / 0.6615 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.04643, allocations: 0.6679 MB / 0.6621 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.04699, allocations: 178.9 kB / 0.6623 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/0.05222, allocations: 5.574 MB / 0.6677 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.05257, allocations: 342.2 kB / 0.668 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002582/0.05283, allocations: 113 kB / 0.6682 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.05301, allocations: 208.4 kB / 0.6683 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of SimCode: time 1.203e-06/0.05301, allocations: 4 kB / 0.6684 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2688/0.3218, allocations: 15.7 MB / 0.6837 GB, free: 94.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.444/7.766, allocations: 10.98 kB / 0.6837 GB, free: 94.81 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.446715218946338] Failed to read output from testmodel.py, exit status != 0: 7.857063339091837 7.866294822 7.847998486 Calling exit ...