Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008389/0.0008389, 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.001415/0.001415, allocations: 165.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.8992/0.8992, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.7139/0.7139, allocations: 154.6 MB / 413.8 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_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_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.844e-06/1.844e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.338e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.0051/0.005124, allocations: 5.287 MB / 0.6233 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003291/0.008415, allocations: 2.603 MB / 0.6258 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.008781, allocations: 31.69 kB / 0.6258 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.009896, allocations: 0.6767 MB / 0.6265 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000842/0.01074, allocations: 441.2 kB / 0.6269 GB, free: 4.602 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.01152, allocations: 417.5 kB / 0.6273 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0009957/0.01252, allocations: 0.9824 MB / 0.6283 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005716/0.01309, allocations: 382.5 kB / 0.6286 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007258/0.01381, allocations: 0.5182 MB / 0.6291 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000458/0.01427, allocations: 367 kB / 0.6295 GB, free: 1.949 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.833e-05/0.01434, allocations: 48 kB / 0.6295 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005408/0.01488, allocations: 335 kB / 0.6299 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.01508, allocations: 267.2 kB / 0.6301 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.01528, allocations: 243.4 kB / 0.6303 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0008548/0.01613, allocations: 0.993 MB / 0.6313 GB, free: 80 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01614, allocations: 0 / 0.6313 GB, free: 80 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.833e-06/0.01614, allocations: 4 kB / 0.6313 GB, free: 76 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.01616, allocations: 0 / 0.6313 GB, free: 76 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.001357/0.01752, allocations: 0.9132 MB / 0.6322 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.01756, allocations: 8.031 kB / 0.6322 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.5e-05/0.01765, allocations: 98.69 kB / 0.6323 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007909/0.01844, allocations: 212.2 kB / 0.6325 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.01906, allocations: 468.1 kB / 0.633 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.01909, allocations: 41.36 kB / 0.633 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.01922, allocations: 60.53 kB / 0.6331 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008685/0.02008, allocations: 0.975 MB / 0.634 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.02011, allocations: 8.125 kB / 0.634 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.02015, allocations: 31.92 kB / 0.6341 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.02028, allocations: 64.89 kB / 0.6341 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.02089, allocations: 0.5697 MB / 0.6347 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.0236, allocations: 3.557 MB / 0.6381 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.02398, allocations: 287.1 kB / 0.6384 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.02419, allocations: 213.2 kB / 0.6386 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.02421, allocations: 4.281 kB / 0.6386 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.02425, allocations: 38.84 kB / 0.6387 GB, free: 8.219 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.586e-06/0.02425, allocations: 0 / 0.6387 GB, free: 8.219 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.003345/0.0276, allocations: 2.325 MB / 0.6409 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.02763, allocations: 59.41 kB / 0.641 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.02798, allocations: 473.9 kB / 0.6414 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.02801, allocations: 33.7 kB / 0.6415 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.02817, allocations: 352.5 kB / 0.6418 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/0.02825, allocations: 154.7 kB / 0.642 GB, free: 4.762 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.02836, allocations: 98.3 kB / 0.642 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.02848, allocations: 370.7 kB / 0.6424 GB, free: 4.289 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.02873, allocations: 237.2 kB / 0.6426 GB, free: 4.055 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.02904, allocations: 407.3 kB / 0.643 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.02962, allocations: 0.6779 MB / 0.6437 GB, free: 2.832 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.02962, allocations: 4 kB / 0.6437 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001003/0.03063, allocations: 0.9212 MB / 0.6446 GB, free: 1.891 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.03065, allocations: 8 kB / 0.6446 GB, free: 1.883 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.03066, allocations: 4 kB / 0.6446 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004358/0.03109, allocations: 230.8 kB / 0.6448 GB, free: 1.645 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.03137, allocations: 111.8 kB / 0.6449 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/0.03471, allocations: 4.994 MB / 0.6498 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.03496, allocations: 31.97 kB / 0.6498 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.03499, allocations: 23.94 kB / 0.6499 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.0002665/0.03526, allocations: 225.8 kB / 0.6501 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.03532, allocations: 59.61 kB / 0.6501 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009741/0.03629, allocations: 0.7657 MB / 0.6509 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.0363, allocations: 11.94 kB / 0.6509 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.0363, allocations: 0 / 0.6509 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.03631, allocations: 4.141 kB / 0.6509 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.03785, allocations: 1.4 MB / 0.6523 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.03785, allocations: 4 kB / 0.6523 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.03804, allocations: 75.86 kB / 0.6523 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003485/0.03839, allocations: 202.6 kB / 0.6525 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.03841, allocations: 8 kB / 0.6525 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/0.04142, allocations: 4.936 MB / 0.6574 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.04142, allocations: 7.922 kB / 0.6574 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.04279, allocations: 1.124 MB / 0.6585 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.04294, allocations: 91.81 kB / 0.6585 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.04298, allocations: 12 kB / 0.6586 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.04315, allocations: 27.91 kB / 0.6586 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.04322, allocations: 43.88 kB / 0.6586 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.04324, allocations: 12 kB / 0.6586 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002348/0.04347, allocations: 314.9 kB / 0.6589 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.04347, allocations: 0 / 0.6589 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004985/0.04397, allocations: 168 kB / 0.6591 GB, free: 2.164 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.001278/0.04525, allocations: 1.681 MB / 0.6607 GB, free: 436 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.04629, allocations: 0.9691 MB / 0.6617 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.04629, allocations: 0 / 0.6617 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.0468, allocations: 0.6642 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.0005706/0.04737, allocations: 193 kB / 0.6625 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006109/0.05348, allocations: 5.592 MB / 0.668 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.05374, allocations: 346.3 kB / 0.6683 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.054, allocations: 117 kB / 0.6684 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.05419, allocations: 212.4 kB / 0.6686 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of SimCode: time 1.573e-06/0.05419, allocations: 0 / 0.6686 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2956/0.3498, allocations: 15.79 MB / 0.684 GB, free: 95.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.171/7.521, allocations: 4.828 kB / 0.6841 GB, free: 95.38 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.207129025831819] Failed to read output from testmodel.py, exit status != 0: 7.6136406203731894 7.620459529 7.602870973 Calling exit ...