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.0006763/0.0006763, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007976/0.0007975, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002502/0.0002503, allocations: 8 kB / 307.8 MB, free: 0.6953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08572/0.08599, allocations: 51.52 MB / 359.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003078/0.0891, allocations: 2.52 MB / 361.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.09071, allocations: 0.8416 MB / 362.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.09093, allocations: 4 kB / 362.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.09107, allocations: 39.7 kB / 362.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.09142, allocations: 99.34 kB / 362.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.0918, allocations: 175.7 kB / 363 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.09224, allocations: 450.4 kB / 363.5 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.09244, allocations: 113.9 kB / 363.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.09272, allocations: 155.4 kB / 363.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.093, allocations: 187.2 kB / 363.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.09307, allocations: 20 kB / 363.9 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-05/0.09316, allocations: 24 kB / 364 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.09324, allocations: 67.72 kB / 364 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.09342, allocations: 188.8 kB / 364.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.09382, allocations: 418.5 kB / 364.6 MB, free: 7.871 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.09383, allocations: 7.938 kB / 364.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09384, allocations: 0 / 364.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.09386, allocations: 0 / 364.6 MB, free: 7.863 MB / 302.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.001531/0.0954, allocations: 0.6352 MB / 365.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.09545, allocations: 16.03 kB / 365.3 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.098e-05/0.09555, allocations: 66.66 kB / 365.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.09575, allocations: 40.56 kB / 365.4 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.0962, allocations: 303.5 kB / 365.7 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/0.0963, allocations: 50.69 kB / 365.7 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.09635, allocations: 24.36 kB / 365.8 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.09687, allocations: 292.3 kB / 366 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.09689, allocations: 0 / 366 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.09693, allocations: 12 kB / 366.1 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.09694, allocations: 4 kB / 366.1 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.09734, allocations: 173.7 kB / 366.2 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.09964, allocations: 1.06 MB / 367.3 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.09997, allocations: 122.5 kB / 367.4 MB, free: 4.879 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.1002, allocations: 92.81 kB / 367.5 MB, free: 4.785 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1002, allocations: 3.984 kB / 367.5 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1003, allocations: 30.56 kB / 367.5 MB, free: 4.742 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.1003, allocations: 4 kB / 367.5 MB, free: 4.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.00101/0.1013, allocations: 461.1 kB / 368 MB, free: 4.242 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.1014, allocations: 158.2 kB / 368.1 MB, free: 4.051 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.1017, allocations: 278.5 kB / 368.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.1017, allocations: 29.64 kB / 368.4 MB, free: 3.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1019, allocations: 176.1 kB / 368.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.1019, allocations: 51.23 kB / 368.7 MB, free: 3.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.102, allocations: 25.7 kB / 368.7 MB, free: 3.469 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1021, allocations: 334.8 kB / 369 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.1023, allocations: 91.91 kB / 369.1 MB, free: 3.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.1025, allocations: 140.3 kB / 369.2 MB, free: 2.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.1029, allocations: 175.9 kB / 369.4 MB, free: 2.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1029, allocations: 0 / 369.4 MB, free: 2.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007514/0.1104, allocations: 0.9073 MB / 370.3 MB, free: 1.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1104, allocations: 7.938 kB / 370.3 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1104, allocations: 0 / 370.3 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009177/0.1196, allocations: 0.8405 MB / 371.2 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.1198, allocations: 19.98 kB / 371.2 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.147/0.2667, allocations: 4.487 MB / 375.7 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.2671, allocations: 27 kB / 375.7 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.2671, allocations: 5.703 kB / 375.7 MB, free: 16.09 MB / 302.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.0001432/0.2673, allocations: 147.8 kB / 375.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.2673, allocations: 24.05 kB / 375.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.2674, allocations: 24.09 kB / 375.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2674, allocations: 1.031 kB / 375.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2674, allocations: 4 kB / 375.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2674, allocations: 6.859 kB / 375.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008879/0.2683, allocations: 0.6267 MB / 376.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2683, allocations: 4.969 kB / 376.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.2684, allocations: 23.06 kB / 376.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/0.2686, allocations: 52.94 kB / 376.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2686, allocations: 5.172 kB / 376.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.27, allocations: 2.672 MB / 379.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.27, allocations: 1.062 kB / 379.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.2705, allocations: 323.9 kB / 379.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.2706, allocations: 100.1 kB / 379.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.2706, allocations: 3.312 kB / 379.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.2708, allocations: 24.67 kB / 379.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/0.2709, allocations: 31.83 kB / 379.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.2709, allocations: 13.73 kB / 379.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.2711, allocations: 199.1 kB / 380 MB, free: 12.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2711, allocations: 0 / 380 MB, free: 12.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005058/0.2716, allocations: 100.8 kB / 380.1 MB, free: 12.66 MB / 302.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.0006176/0.2723, allocations: 0.8576 MB / 380.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.2736, allocations: 0.5445 MB / 381.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2736, allocations: 1.375 kB / 381.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.274, allocations: 330.3 kB / 381.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.2745, allocations: 58.73 kB / 381.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/0.2917, allocations: 4.139 MB / 386 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.2919, allocations: 0.762 MB / 386.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.2921, allocations: 27.02 kB / 386.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.2922, allocations: 89.47 kB / 386.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2922, allocations: 0 / 386.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.3154, allocations: 9.229 MB / 396.1 MB, free: 5.414 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.3155, allocations: 272.3 kB / 396.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.256, allocations: 0 / 396.4 MB, free: 5.059 MB / 302.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)