Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.CompareLosslessLines,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006621/0.000662, allocations: 93.56 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007737/0.0007736, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001903/0.0001903, allocations: 8 kB / 307.8 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08407/0.08427, allocations: 51.52 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.003398/0.0877, allocations: 3.24 MB / 362.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.08937, allocations: 0.8883 MB / 363.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.0897, allocations: 11.94 kB / 363.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.08992, allocations: 59.53 kB / 363.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.09038, allocations: 119.1 kB / 363.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.0908, allocations: 175.8 kB / 363.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.09149, allocations: 0.5843 MB / 364.4 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.09182, allocations: 186.3 kB / 364.6 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.09214, allocations: 203.2 kB / 364.8 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.09248, allocations: 250.8 kB / 365.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.149e-05/0.09257, allocations: 28 kB / 365.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.964e-05/0.09266, allocations: 32 kB / 365.1 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.09275, allocations: 103.5 kB / 365.2 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.09301, allocations: 264.5 kB / 365.5 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005019/0.09352, allocations: 0.5758 MB / 366.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.09353, allocations: 0 / 366.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09354, allocations: 0 / 366.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.09357, allocations: 0 / 366.1 MB, free: 6.465 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001458/0.09503, allocations: 0.7853 MB / 366.8 MB, free: 5.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.09508, allocations: 8.031 kB / 366.8 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.0952, allocations: 90.7 kB / 366.9 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.09531, allocations: 56.31 kB / 367 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.09571, allocations: 330.5 kB / 367.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.09575, allocations: 37.38 kB / 367.3 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.404e-05/0.09582, allocations: 56.06 kB / 367.4 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/0.09665, allocations: 0.514 MB / 367.9 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.09667, allocations: 0 / 367.9 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.09672, allocations: 16 kB / 367.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.09674, allocations: 12 kB / 367.9 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/0.09737, allocations: 331.8 kB / 368.3 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.09946, allocations: 1.58 MB / 369.8 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.09997, allocations: 214.5 kB / 370.1 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.1002, allocations: 117.9 kB / 370.2 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1002, allocations: 4 kB / 370.2 MB, free: 2.082 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.1006, allocations: 217.6 kB / 370.4 MB, free: 1.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.663e-06/0.1007, allocations: 0 / 370.4 MB, free: 1.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001466/0.1021, allocations: 0.7933 MB / 371.2 MB, free: 0.957 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.1023, allocations: 320.4 kB / 371.5 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.1026, allocations: 306.9 kB / 371.8 MB, free: 268 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1026, allocations: 33.7 kB / 371.8 MB, free: 228 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1333/0.236, allocations: 259.8 kB / 372.1 MB, free: 18.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.2361, allocations: 92.3 kB / 372.2 MB, free: 18.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.2362, allocations: 36.73 kB / 372.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.2363, allocations: 340.2 kB / 372.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.2366, allocations: 103.7 kB / 372.6 MB, free: 18.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.2369, allocations: 269.1 kB / 372.9 MB, free: 18.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.2374, allocations: 350.1 kB / 373.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2375, allocations: 1.156 kB / 373.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001152/0.2386, allocations: 0.5423 MB / 373.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.2387, allocations: 34.52 kB / 373.8 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2387, allocations: 3.281 kB / 373.8 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/0.2393, allocations: 174.8 kB / 374 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.2395, allocations: 49.41 kB / 374 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/0.2423, allocations: 4.538 MB / 378.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.2427, allocations: 69.09 kB / 378.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.2428, allocations: 15.38 kB / 378.7 MB, free: 14.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.243, allocations: 167.2 kB / 378.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.243, allocations: 40.5 kB / 378.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/0.2431, allocations: 37.61 kB / 378.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2431, allocations: 2.75 kB / 378.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2431, allocations: 5.125 kB / 378.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2431, allocations: 5.734 kB / 378.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.2435, allocations: 425.5 kB / 379.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2435, allocations: 0 / 379.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.2437, allocations: 41.88 kB / 379.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002643/0.244, allocations: 108 kB / 379.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.244, allocations: 11.77 kB / 379.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.2463, allocations: 5.293 MB / 384.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2464, allocations: 0.7031 kB / 384.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.2471, allocations: 376.1 kB / 385.2 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.2471, allocations: 112.7 kB / 385.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.2472, allocations: 6.75 kB / 385.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.2474, allocations: 39.09 kB / 385.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.2476, allocations: 54.59 kB / 385.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.2476, allocations: 9.844 kB / 385.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.2478, allocations: 223 kB / 385.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2478, allocations: 0 / 385.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000507/0.2483, allocations: 155.6 kB / 385.7 MB, free: 8.176 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008101/0.2491, allocations: 0.9084 MB / 386.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009595/0.2501, allocations: 0.7203 MB / 387.4 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2501, allocations: 1.062 kB / 387.4 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005747/0.2507, allocations: 0.6097 MB / 388 MB, free: 6.441 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.251, allocations: 58.44 kB / 388 MB, free: 6.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/0.2552, allocations: 3.757 MB / 391.8 MB, free: 3.938 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.2555, allocations: 0.8162 MB / 392.6 MB, free: 3.227 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.2557, allocations: 40.16 kB / 392.6 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.2559, allocations: 145.8 kB / 392.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2559, allocations: 0 / 392.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.2756, allocations: 8.537 MB / 401.3 MB, free: 420 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.2758, allocations: 237.9 kB / 401.6 MB, free: 156 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.091, allocations: 2.953 kB / 401.6 MB, free: 156 kB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines_fmu --startTime=0 --stopTime=2e-08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)