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.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 4.1.0-beta.om/package.mo", uses=false) 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.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.675/1.675, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB 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.001912/0.001912, allocations: 60.5 kB / 307.9 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09285, allocations: 50.55 MB / 358.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005131/0.09802, allocations: 3.588 MB / 362 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.09994, allocations: 0.9037 MB / 362.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.1001, allocations: 8 kB / 362.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.1004, allocations: 79.22 kB / 363 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.1008, allocations: 142.7 kB / 363.2 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.1012, allocations: 195.7 kB / 363.4 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006753/0.1019, allocations: 0.6077 MB / 364 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.1023, allocations: 220.8 kB / 364.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.1026, allocations: 247.2 kB / 364.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.103, allocations: 286.8 kB / 364.7 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.072e-05/0.1031, allocations: 60 kB / 364.8 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.582e-05/0.1032, allocations: 56 kB / 364.8 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.1033, allocations: 135.6 kB / 364.9 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.1036, allocations: 270.7 kB / 365.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005976/0.1042, allocations: 0.6075 MB / 365.8 MB, free: 6.496 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1042, allocations: 3.984 kB / 365.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1042, allocations: 0 / 365.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1042, allocations: 0 / 365.8 MB, free: 6.492 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.001516/0.1057, allocations: 0.8476 MB / 366.7 MB, free: 5.586 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1058, allocations: 15.97 kB / 366.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1059, allocations: 56.38 kB / 366.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.1063, allocations: 330.5 kB / 367.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.1063, allocations: 37.38 kB / 367.1 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.1064, allocations: 40.38 kB / 367.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008807/0.1073, allocations: 0.5178 MB / 367.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1073, allocations: 3.984 kB / 367.7 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.1074, allocations: 20 kB / 367.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1074, allocations: 12 kB / 367.7 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/0.1081, allocations: 319.8 kB / 368 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.1105, allocations: 1.569 MB / 369.6 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.1111, allocations: 218.4 kB / 369.8 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.1113, allocations: 100.8 kB / 369.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1113, allocations: 0 / 369.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/0.1118, allocations: 219.3 kB / 370.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.353e-06/0.1118, allocations: 0 / 370.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001609/0.1134, allocations: 0.7642 MB / 370.9 MB, free: 1.082 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/0.1137, allocations: 324.4 kB / 371.2 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.114, allocations: 299 kB / 371.5 MB, free: 400 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.1141, allocations: 33.7 kB / 371.5 MB, free: 360 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.1143, allocations: 267.4 kB / 371.8 MB, free: 88 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.14/0.2542, allocations: 93.7 kB / 371.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.2545, allocations: 80.39 kB / 371.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.2546, allocations: 339.5 kB / 372.3 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.2549, allocations: 100.2 kB / 372.4 MB, free: 19.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.2552, allocations: 262.2 kB / 372.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.2557, allocations: 332.7 kB / 372.9 MB, free: 19.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2557, allocations: 4.906 kB / 373 MB, free: 19.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001213/0.257, allocations: 0.537 MB / 373.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.257, allocations: 34.12 kB / 373.5 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.257, allocations: 2.969 kB / 373.5 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006494/0.2577, allocations: 177.1 kB / 373.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.2579, allocations: 46.16 kB / 373.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.2611, allocations: 4.935 MB / 378.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.2615, allocations: 64.97 kB / 378.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.2616, allocations: 12.98 kB / 378.8 MB, free: 14.88 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.0001881/0.2618, allocations: 167.1 kB / 378.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.2618, allocations: 31.5 kB / 378.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.2619, allocations: 37.31 kB / 379 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2619, allocations: 6.578 kB / 379 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.2619, allocations: 5.75 kB / 379 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2619, allocations: 1.594 kB / 379 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.2624, allocations: 425.2 kB / 379.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.2624, allocations: 1.938 kB / 379.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.2626, allocations: 36.97 kB / 379.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002747/0.2629, allocations: 107.1 kB / 379.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.2629, allocations: 9.469 kB / 379.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.2655, allocations: 5.756 MB / 385.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2655, allocations: 0 / 385.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007079/0.2662, allocations: 364.5 kB / 385.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.2663, allocations: 108.4 kB / 385.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.2664, allocations: 11.34 kB / 385.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.2666, allocations: 34.45 kB / 385.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2667, allocations: 27.48 kB / 385.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.2668, allocations: 8.844 kB / 385.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.267, allocations: 218.5 kB / 386.1 MB, free: 8.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.267, allocations: 1.688 kB / 386.1 MB, free: 8.082 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005836/0.2676, allocations: 142.2 kB / 386.2 MB, free: 8.055 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.000122/0.2677, allocations: 118.1 kB / 386.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.2688, allocations: 0.7136 MB / 387 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2688, allocations: 1.375 kB / 387 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005704/0.2694, allocations: 0.5785 MB / 387.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.2697, allocations: 67.27 kB / 387.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.2708, allocations: 0.7114 MB / 388.4 MB, free: 6.508 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.271, allocations: 0.8084 MB / 389.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.2711, allocations: 35.3 kB / 389.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2711, allocations: 0 / 389.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of Templates: time 0.01187/0.283, allocations: 10.51 MB / 399.8 MB, free: 1.898 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)