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.001245/0.001245, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001104/0.001104, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9499/0.9499, allocations: 230.6 MB / 256 MB, free: 9.809 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.7987/0.7987, allocations: 203.8 MB / 0.5042 GB, free: 10.69 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.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: 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.0009389/0.0009389, allocations: 65.61 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5436/0.5446, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005546/0.5501, allocations: 5.677 MB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003836/0.554, allocations: 2.764 MB / 0.8261 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.5542, allocations: 32.34 kB / 0.8261 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.5554, allocations: 0.7066 MB / 0.8268 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007838/0.5562, allocations: 426.7 kB / 0.8272 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009116/0.5571, allocations: 390.9 kB / 0.8276 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.5582, allocations: 0.9549 MB / 0.8285 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005707/0.5587, allocations: 369.6 kB / 0.8289 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005177/0.5592, allocations: 391.8 kB / 0.8293 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.5597, allocations: 434 kB / 0.8297 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.124e-05/0.5598, allocations: 48.84 kB / 0.8297 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006614/0.5605, allocations: 376.5 kB / 0.8301 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.5607, allocations: 254.9 kB / 0.8303 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.561, allocations: 353.3 kB / 0.8307 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.5623, allocations: 0.9753 MB / 0.8316 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5623, allocations: 0 / 0.8316 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5623, allocations: 0.5625 kB / 0.8316 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.5623, allocations: 0 / 0.8316 GB, free: 8.988 MB / 0.6198 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.001352/0.5637, allocations: 0.9171 MB / 0.8325 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5637, allocations: 9.844 kB / 0.8325 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.5638, allocations: 96.52 kB / 0.8326 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008564/0.5647, allocations: 199.5 kB / 0.8328 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006491/0.5653, allocations: 458.2 kB / 0.8332 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.5654, allocations: 37.03 kB / 0.8333 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.5655, allocations: 56.2 kB / 0.8333 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009669/0.5665, allocations: 0.8272 MB / 0.8341 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.5665, allocations: 6.375 kB / 0.8341 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.5665, allocations: 23.88 kB / 0.8342 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.5667, allocations: 68.61 kB / 0.8342 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007311/0.5674, allocations: 0.5719 MB / 0.8348 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003553/0.5709, allocations: 4.501 MB / 0.8392 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.5713, allocations: 276.6 kB / 0.8395 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.5716, allocations: 210.3 kB / 0.8397 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.5716, allocations: 3.844 kB / 0.8397 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.5716, allocations: 38.64 kB / 0.8397 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.315e-06/0.5716, allocations: 0 / 0.8397 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.003892/0.5755, allocations: 2.346 MB / 0.842 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.5755, allocations: 60 kB / 0.842 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.5759, allocations: 457 kB / 0.8425 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.576, allocations: 36.45 kB / 0.8425 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.5761, allocations: 344.2 kB / 0.8428 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.394e-05/0.5762, allocations: 156.5 kB / 0.843 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.5763, allocations: 102.3 kB / 0.8431 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5764, allocations: 363.2 kB / 0.8434 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.5767, allocations: 236.1 kB / 0.8437 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.5771, allocations: 411.2 kB / 0.8441 GB, free: 316 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007319/0.5778, allocations: 0.6731 MB / 0.8447 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5778, allocations: 2.562 kB / 0.8447 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001249/0.579, allocations: 0.916 MB / 0.8456 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.5791, allocations: 7.281 kB / 0.8456 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002074/0.5793, allocations: 5.812 kB / 0.8456 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.5798, allocations: 226 kB / 0.8458 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.5802, allocations: 125.4 kB / 0.846 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/0.5839, allocations: 5.03 MB / 0.8509 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.5843, allocations: 29.41 kB / 0.8509 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.5844, allocations: 27.22 kB / 0.8509 GB, free: 10.53 MB / 0.6355 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.0003039/0.5847, allocations: 237.2 kB / 0.8511 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.5847, allocations: 66.39 kB / 0.8512 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.5859, allocations: 0.763 MB / 0.852 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5859, allocations: 7.219 kB / 0.852 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5859, allocations: 3 kB / 0.852 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5859, allocations: 0 / 0.852 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.5876, allocations: 1.454 MB / 0.8534 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5877, allocations: 2.594 kB / 0.8534 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.5879, allocations: 68.97 kB / 0.8535 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003877/0.5883, allocations: 205.8 kB / 0.8537 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.5883, allocations: 13.53 kB / 0.8537 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003338/0.5916, allocations: 4.953 MB / 0.8585 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5916, allocations: 13.98 kB / 0.8585 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.5929, allocations: 1.126 MB / 0.8596 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.5931, allocations: 101.1 kB / 0.8597 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.5931, allocations: 12.44 kB / 0.8597 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.5933, allocations: 31.25 kB / 0.8598 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.5934, allocations: 40.88 kB / 0.8598 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.5934, allocations: 13 kB / 0.8598 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002672/0.5937, allocations: 316.1 kB / 0.8601 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5937, allocations: 0 / 0.8601 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006208/0.5943, allocations: 166 kB / 0.8603 GB, free: 3.062 MB / 0.6355 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.001437/0.5957, allocations: 1.686 MB / 0.8619 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.5969, allocations: 0.9538 MB / 0.8628 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5969, allocations: 0 / 0.8628 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005881/0.5975, allocations: 0.6749 MB / 0.8635 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000631/0.5981, allocations: 182.4 kB / 0.8637 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006913/0.605, allocations: 5.628 MB / 0.8692 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006075/0.6056, allocations: 0.9486 MB / 0.8701 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000463/0.6061, allocations: 110.3 kB / 0.8702 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.6063, allocations: 207.9 kB / 0.8704 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of SimCode: time 1.352e-06/0.6063, allocations: 1.25 kB / 0.8704 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04189/0.6482, allocations: 14.65 MB / 0.8847 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/8.206, allocations: 11.58 kB / 0.8847 GB, free: 15.78 MB / 0.6667 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: 11.10796211916022] Failed to read output from testmodel.py, exit status != 0: 8.293084615143016 8.305246209 7.741123343 Calling exit ...