Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 191 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 226.6 MB / 244.7 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008149/0.0008151, allocations: 98.98 kB / 296.8 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002146/0.0002146, allocations: 8 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2147, allocations: 51.3 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.002194/0.217, allocations: 2.407 MB / 410.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2181, allocations: 0.7923 MB / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.2182, allocations: 4 kB / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2184, allocations: 33.2 kB / 411.3 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.2186, allocations: 95.91 kB / 411.4 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.2189, allocations: 132 kB / 411.5 MB, free: 24.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.2192, allocations: 430.3 kB / 411.9 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.2194, allocations: 102 kB / 412 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.2196, allocations: 155.4 kB / 412.2 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.2198, allocations: 183.2 kB / 412.4 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.2199, allocations: 20 kB / 412.4 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.65e-05/0.2199, allocations: 24 kB / 412.4 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.22, allocations: 63.73 kB / 412.5 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2201, allocations: 184.9 kB / 412.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.2204, allocations: 332 kB / 413 MB, free: 22.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2204, allocations: 0 / 413 MB, free: 22.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2204, allocations: 0 / 413 MB, free: 22.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2204, allocations: 0 / 413 MB, free: 22.78 MB / 298.7 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.001196/0.2216, allocations: 0.6373 MB / 413.6 MB, free: 22.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2216, allocations: 12.03 kB / 413.6 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.2218, allocations: 52.39 kB / 413.7 MB, free: 22.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.2222, allocations: 294.7 kB / 414 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.231e-05/0.2223, allocations: 50.69 kB / 414 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.2223, allocations: 24.38 kB / 414 MB, free: 21.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.2227, allocations: 288.5 kB / 414.3 MB, free: 21.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2227, allocations: 0 / 414.3 MB, free: 21.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.2228, allocations: 8 kB / 414.3 MB, free: 21.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2228, allocations: 8 kB / 414.3 MB, free: 21.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.2231, allocations: 173.5 kB / 414.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.225, allocations: 1.06 MB / 415.6 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.2252, allocations: 118.5 kB / 415.7 MB, free: 19.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.2254, allocations: 92.77 kB / 415.8 MB, free: 19.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.2254, allocations: 4 kB / 415.8 MB, free: 19.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.2255, allocations: 34.55 kB / 415.8 MB, free: 19.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.2255, allocations: 0 / 415.8 MB, free: 19.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008542/0.2263, allocations: 457.4 kB / 416.3 MB, free: 19.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.2264, allocations: 158.2 kB / 416.4 MB, free: 19.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.2266, allocations: 270.5 kB / 416.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.2267, allocations: 33.7 kB / 416.7 MB, free: 18.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.2268, allocations: 180.1 kB / 416.9 MB, free: 18.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.2268, allocations: 47.27 kB / 416.9 MB, free: 18.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.2268, allocations: 0 / 416.9 MB, free: 18.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.2269, allocations: 334.8 kB / 417.3 MB, free: 18.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.227, allocations: 99.89 kB / 417.4 MB, free: 18.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.2272, allocations: 132.1 kB / 417.5 MB, free: 17.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.2275, allocations: 171.9 kB / 417.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2275, allocations: 4 kB / 417.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007145/0.2347, allocations: 0.8958 MB / 418.6 MB, free: 16.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.2347, allocations: 7.938 kB / 418.6 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2348, allocations: 0 / 418.6 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008577/0.2433, allocations: 0.8405 MB / 419.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2435, allocations: 19.98 kB / 419.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007218/0.2507, allocations: 4.497 MB / 423.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.2511, allocations: 27.83 kB / 423.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.2511, allocations: 7.984 kB / 424 MB, free: 11.17 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {4 1} Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.2513, allocations: 141.8 kB / 424.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.2513, allocations: 23.72 kB / 424.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.2513, allocations: 25.83 kB / 424.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2514, allocations: 11.88 kB / 424.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2514, allocations: 3.938 kB / 424.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2514, allocations: 0 / 424.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007226/0.2521, allocations: 0.6307 MB / 424.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.2521, allocations: 4 kB / 424.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.2522, allocations: 19.98 kB / 424.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/0.2524, allocations: 49.7 kB / 424.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.2524, allocations: 8 kB / 424.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.2536, allocations: 2.674 MB / 427.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2537, allocations: 0 / 427.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.2541, allocations: 321.3 kB / 427.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.2542, allocations: 100.8 kB / 428 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.2542, allocations: 7.938 kB / 428 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.2544, allocations: 19.98 kB / 428 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.2545, allocations: 16.11 kB / 428 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2545, allocations: 7.984 kB / 428 MB, free: 6.734 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.2547, allocations: 201.9 kB / 428.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2547, allocations: 0 / 428.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004878/0.2552, allocations: 99.78 kB / 428.3 MB, free: 6.438 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.2553, allocations: 107.2 kB / 428.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.2566, allocations: 0.5557 MB / 429 MB, free: 5.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2566, allocations: 4 kB / 429 MB, free: 5.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.2569, allocations: 317.4 kB / 429.3 MB, free: 5.402 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.2573, allocations: 44.59 kB / 429.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.2582, allocations: 0.6477 MB / 430 MB, free: 4.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2584, allocations: 0.7636 MB / 430.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.2585, allocations: 27.42 kB / 430.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2585, allocations: 0 / 430.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of Templates: time 0.00709/0.2656, allocations: 6.122 MB / 436.9 MB, free: 13.75 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine --alarm=480 > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1)