Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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.001505/0.001505, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 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.001588/0.001588, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 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 1.466/1.466, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 51.92 kB / 374.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1184, allocations: 53.33 MB / 427.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004213/0.1226, allocations: 2.857 MB / 430.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1242, allocations: 0.857 MB / 431.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.1244, allocations: 7.938 kB / 431.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.1245, allocations: 47.56 kB / 431.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.1249, allocations: 123.1 kB / 431.4 MB, free: 380 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.1253, allocations: 195.6 kB / 431.6 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000554/0.1258, allocations: 490.3 kB / 432.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.126, allocations: 85.19 kB / 432.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.1263, allocations: 195.3 kB / 432.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.1266, allocations: 223.2 kB / 432.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.1267, allocations: 44 kB / 432.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.1268, allocations: 44 kB / 432.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.1269, allocations: 91.72 kB / 432.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.1271, allocations: 191.1 kB / 432.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.1276, allocations: 450.3 kB / 433.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1276, allocations: 0 / 433.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1276, allocations: 3.938 kB / 433.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1276, allocations: 0 / 433.4 MB, free: 14.39 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001582/0.1292, allocations: 0.7011 MB / 434.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1292, allocations: 8.031 kB / 434.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.1294, allocations: 52.62 kB / 434.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.1299, allocations: 303.7 kB / 434.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.473e-05/0.13, allocations: 50.69 kB / 434.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.1301, allocations: 24.38 kB / 434.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/0.1305, allocations: 284.5 kB / 434.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1306, allocations: 0 / 434.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.1306, allocations: 12 kB / 434.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1306, allocations: 4 kB / 434.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.131, allocations: 161.7 kB / 435 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.1333, allocations: 1.048 MB / 436 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.1337, allocations: 106.5 kB / 436.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.1339, allocations: 79.39 kB / 436.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1339, allocations: 8.234 kB / 436.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1339, allocations: 30.56 kB / 436.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 3.226e-06/0.1339, allocations: 7.984 kB / 436.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001032/0.135, allocations: 437.3 kB / 436.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.1351, allocations: 158.2 kB / 436.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.1354, allocations: 274.6 kB / 437.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.1354, allocations: 29.7 kB / 437.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1356, allocations: 184.3 kB / 437.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.1356, allocations: 47.59 kB / 437.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.1357, allocations: 49.69 kB / 437.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1359, allocations: 330.8 kB / 437.7 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.1361, allocations: 95.89 kB / 437.8 MB, free: 9.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.1363, allocations: 129 kB / 437.9 MB, free: 9.492 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.1367, allocations: 163.2 kB / 438.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1367, allocations: 0 / 438.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00765/0.1443, allocations: 0.8848 MB / 439 MB, free: 8.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.1444, allocations: 11.94 kB / 439 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.1444, allocations: 0 / 439 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009162/0.1536, allocations: 0.8287 MB / 439.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.1537, allocations: 19.98 kB / 439.8 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0097/0.1634, allocations: 4.899 MB / 444.7 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.1637, allocations: 31.86 kB / 444.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.1637, allocations: 4 kB / 444.8 MB, free: 2.348 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.1639, allocations: 141.8 kB / 444.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.164, allocations: 23.98 kB / 444.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.1641, allocations: 29.89 kB / 445 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1641, allocations: 8.281 kB / 445 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1641, allocations: 0 / 445 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1641, allocations: 3.984 kB / 445 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009909/0.1651, allocations: 0.6207 MB / 445.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.1651, allocations: 4 kB / 445.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.1652, allocations: 19.97 kB / 445.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.1654, allocations: 53.62 kB / 445.7 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.1654, allocations: 8 kB / 445.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2405/0.4059, allocations: 2.923 MB / 448.6 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4059, allocations: 0 / 448.6 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.4065, allocations: 308.1 kB / 448.9 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.4066, allocations: 102.5 kB / 449 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.4067, allocations: 10.25 kB / 449 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.4069, allocations: 12.23 kB / 449 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.407, allocations: 19.03 kB / 449 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.407, allocations: 8.797 kB / 449 MB, free: 22.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.4072, allocations: 194.7 kB / 449.2 MB, free: 22.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4072, allocations: 0 / 449.2 MB, free: 22.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006473/0.4079, allocations: 102.8 kB / 449.3 MB, free: 22.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.408, allocations: 111.3 kB / 449.4 MB, free: 22.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.4096, allocations: 0.538 MB / 450 MB, free: 21.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4096, allocations: 1.062 kB / 450 MB, free: 21.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.4099, allocations: 304.5 kB / 450.3 MB, free: 21.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.4104, allocations: 49.16 kB / 450.3 MB, free: 21.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009755/0.4114, allocations: 0.5462 MB / 450.9 MB, free: 21.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.4116, allocations: 0.7617 MB / 451.6 MB, free: 20.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.614e-05/0.4117, allocations: 26.39 kB / 451.7 MB, free: 20.58 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4117, allocations: 0 / 451.7 MB, free: 20.58 MB / 366.1 MB Notification: Performance of Templates: time 0.01271/0.4244, allocations: 6.238 MB / 457.9 MB, free: 20.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.356002150976565] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.v', 'load.i'] 0.4337624670006335 0.444499083 0.314440969 Calling exit ...