Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007836/0.007836, allocations: 108.4 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 259 MB, free: 8 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 68.77 kB / 379.8 MB, free: 2.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3003, allocations: 53.36 MB / 433.2 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004656/0.305, allocations: 2.872 MB / 436.1 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.3068, allocations: 0.8803 MB / 437 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.3069, allocations: 4 kB / 437 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.3071, allocations: 39.58 kB / 437 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.3075, allocations: 123.1 kB / 437.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.308, allocations: 203.6 kB / 437.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000578/0.3086, allocations: 486.3 kB / 437.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.3088, allocations: 85.3 kB / 437.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.3091, allocations: 203.3 kB / 438.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/0.3095, allocations: 211.2 kB / 438.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.762e-05/0.3095, allocations: 44 kB / 438.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3096, allocations: 51.98 kB / 438.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3098, allocations: 99.66 kB / 438.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.3099, allocations: 179.2 kB / 438.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006225/0.3106, allocations: 467.6 kB / 439.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3106, allocations: 0 / 439.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3106, allocations: 0 / 439.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3106, allocations: 0 / 439.1 MB, free: 1.012 MB / 334.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.001569/0.3122, allocations: 0.618 MB / 439.7 MB, free: 372 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3122, allocations: 8.031 kB / 439.7 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.3124, allocations: 44.7 kB / 439.8 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.3129, allocations: 249.5 kB / 440 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.313, allocations: 46.77 kB / 440.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.3131, allocations: 24.38 kB / 440.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.3136, allocations: 280.5 kB / 440.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.3136, allocations: 7.984 kB / 440.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.3136, allocations: 12 kB / 440.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.3136, allocations: 4 kB / 440.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.314, allocations: 161.7 kB / 440.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.3165, allocations: 1.006 MB / 441.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.3168, allocations: 110.5 kB / 441.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.317, allocations: 76.75 kB / 441.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.317, allocations: 8 kB / 441.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3171, allocations: 34.56 kB / 441.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.3171, allocations: 0 / 441.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009746/0.318, allocations: 290.3 kB / 442 MB, free: 13.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.3182, allocations: 166 kB / 442.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.3185, allocations: 277.8 kB / 442.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.3185, allocations: 25.7 kB / 442.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.3187, allocations: 180.3 kB / 442.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.3187, allocations: 51.53 kB / 442.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3188, allocations: 53.67 kB / 442.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.319, allocations: 334.8 kB / 443.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.3192, allocations: 79.97 kB / 443.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3195, allocations: 134.8 kB / 443.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.3198, allocations: 168.1 kB / 443.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3198, allocations: 3.938 kB / 443.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008142/0.328, allocations: 0.8771 MB / 444.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.328, allocations: 11.94 kB / 444.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.328, allocations: 0 / 444.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009411/0.3374, allocations: 0.8287 MB / 445.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.3376, allocations: 15.98 kB / 445.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.3476, allocations: 4.695 MB / 449.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.348, allocations: 31.86 kB / 450 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.348, allocations: 16.05 kB / 450 MB, free: 5.613 MB / 350.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.0002072/0.3482, allocations: 137.8 kB / 450.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.3483, allocations: 23.86 kB / 450.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.3483, allocations: 25.77 kB / 450.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3483, allocations: 4 kB / 450.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3483, allocations: 0 / 450.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3483, allocations: 0 / 450.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.3493, allocations: 0.5857 MB / 450.7 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3493, allocations: 4 kB / 450.7 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.3495, allocations: 19.92 kB / 450.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002042/0.3497, allocations: 53.72 kB / 450.8 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3497, allocations: 7.984 kB / 450.8 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/0.3521, allocations: 2.72 MB / 453.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3521, allocations: 4.031 kB / 453.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.3526, allocations: 313.5 kB / 453.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.3527, allocations: 31.78 kB / 453.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.3528, allocations: 11.94 kB / 453.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.353, allocations: 15.98 kB / 453.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.3531, allocations: 19.97 kB / 453.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3531, allocations: 4 kB / 453.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.3533, allocations: 197.2 kB / 454.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3533, allocations: 0 / 454.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005668/0.3539, allocations: 103.8 kB / 454.2 MB, free: 1.027 MB / 350.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.0001548/0.354, allocations: 107.2 kB / 454.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.3556, allocations: 0.5245 MB / 454.9 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3556, allocations: 4.125 kB / 454.9 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.3561, allocations: 313.3 kB / 455.2 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.3568, allocations: 63.38 kB / 455.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.3579, allocations: 0.5511 MB / 455.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.3584, allocations: 0.7635 MB / 456.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3585, allocations: 19.42 kB / 456.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3585, allocations: 7.938 kB / 456.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Templates: time 0.01025/0.3688, allocations: 6.236 MB / 462.8 MB, free: 8.352 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.255425864132121] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.v', 'load.i'] 0.37847637897357345 0.39694812300000004 0.081969412 Calling exit ...