Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 118.8 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 202 kB / 18.72 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 55.91 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2818, allocations: 50.55 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004086/0.286, allocations: 2.851 MB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.2876, allocations: 0.8531 MB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.2878, allocations: 4 kB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.288, allocations: 35.58 kB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.2884, allocations: 123.1 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.2888, allocations: 199.6 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.2893, allocations: 490.3 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.2896, allocations: 118.8 kB / 413.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.2899, allocations: 183.4 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.2902, allocations: 215.2 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-05/0.2902, allocations: 44 kB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.2903, allocations: 51.98 kB / 413.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.996e-05/0.2904, allocations: 95.66 kB / 414 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.2906, allocations: 183.2 kB / 414.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.2911, allocations: 462.4 kB / 414.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.2911, allocations: 11.94 kB / 414.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2911, allocations: 0 / 414.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.2911, allocations: 0 / 414.6 MB, free: 11.6 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.001482/0.2926, allocations: 0.6819 MB / 415.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2927, allocations: 8.031 kB / 415.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.2927, allocations: 54.73 kB / 415.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.2929, allocations: 52.45 kB / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.2934, allocations: 303.6 kB / 415.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.315e-05/0.2935, allocations: 46.69 kB / 415.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.2935, allocations: 24.38 kB / 415.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.294, allocations: 280.3 kB / 416.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.294, allocations: 8 kB / 416.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.2941, allocations: 8 kB / 416.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.2941, allocations: 8 kB / 416.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.2944, allocations: 157.7 kB / 416.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/0.2967, allocations: 1.056 MB / 417.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.2971, allocations: 118.5 kB / 417.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.2973, allocations: 88.8 kB / 417.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.2973, allocations: 4 kB / 417.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2973, allocations: 34.5 kB / 417.6 MB, free: 8.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.886e-06/0.2974, allocations: 0 / 417.6 MB, free: 8.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009784/0.2983, allocations: 452.8 kB / 418 MB, free: 7.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.2984, allocations: 154.2 kB / 418.1 MB, free: 7.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.2988, allocations: 274.6 kB / 418.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.2988, allocations: 25.7 kB / 418.4 MB, free: 7.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.2989, allocations: 188 kB / 418.6 MB, free: 7.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.299, allocations: 47.36 kB / 418.7 MB, free: 7.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2991, allocations: 45.69 kB / 418.7 MB, free: 7.203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2992, allocations: 334.8 kB / 419 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.2994, allocations: 87.95 kB / 419.1 MB, free: 6.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.2997, allocations: 132.3 kB / 419.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.3, allocations: 168 kB / 419.4 MB, free: 6.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3, allocations: 4 kB / 419.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008414/0.3084, allocations: 0.8964 MB / 420.3 MB, free: 5.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3085, allocations: 8 kB / 420.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3085, allocations: 0 / 420.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.3187, allocations: 0.821 MB / 421.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.3189, allocations: 23.92 kB / 421.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009656/0.3286, allocations: 4.884 MB / 426.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.329, allocations: 27.94 kB / 426.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.3291, allocations: 7.984 kB / 426.1 MB, free: 15.49 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.0002075/0.3293, allocations: 141.7 kB / 426.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.3294, allocations: 24 kB / 426.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.991e-05/0.3294, allocations: 25.83 kB / 426.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3294, allocations: 4 kB / 426.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3295, allocations: 3.938 kB / 426.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3295, allocations: 0 / 426.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.3305, allocations: 0.6294 MB / 426.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3305, allocations: 0 / 426.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.3307, allocations: 19.98 kB / 426.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002052/0.3309, allocations: 53.7 kB / 427 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3309, allocations: 4 kB / 427 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.3331, allocations: 2.928 MB / 429.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3331, allocations: 0 / 429.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.3337, allocations: 325.3 kB / 430.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.72e-05/0.3338, allocations: 104.8 kB / 430.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.3338, allocations: 4 kB / 430.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.3341, allocations: 15.98 kB / 430.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.3342, allocations: 27.97 kB / 430.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3342, allocations: 8 kB / 430.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.3344, allocations: 194 kB / 430.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3344, allocations: 0 / 430.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006447/0.3351, allocations: 103.8 kB / 430.7 MB, free: 10.5 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.0008922/0.336, allocations: 0.8473 MB / 431.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.3377, allocations: 0.544 MB / 432.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3377, allocations: 4 kB / 432.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004634/0.3382, allocations: 309.3 kB / 432.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.3386, allocations: 62.97 kB / 432.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/0.3578, allocations: 3.971 MB / 436.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.3582, allocations: 0.7751 MB / 437.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.3583, allocations: 25.95 kB / 437.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.3585, allocations: 91.39 kB / 437.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3585, allocations: 0 / 437.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.3939, allocations: 10.06 MB / 447.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.27, allocations: 14.62 kB / 447.4 MB, free: 9.789 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine_fmu --startTime=0 --stopTime=0.025 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1)