Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 190.6 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.6 MB / 244.7 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007774/0.0007773, allocations: 100.3 kB / 296.8 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002222/0.0002223, allocations: 8 kB / 356.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2016, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.002338/0.204, allocations: 3.074 MB / 411.1 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.205, allocations: 0.8603 MB / 412 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.2051, allocations: 4 kB / 412 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.2053, allocations: 64.02 kB / 412.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.2055, allocations: 117.8 kB / 412.2 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.2058, allocations: 151.9 kB / 412.3 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.2062, allocations: 0.5658 MB / 412.9 MB, free: 22.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.2064, allocations: 194.3 kB / 413.1 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.2066, allocations: 203.2 kB / 413.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.2068, allocations: 235 kB / 413.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.548e-05/0.2068, allocations: 32 kB / 413.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.395e-05/0.2069, allocations: 32 kB / 413.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.207, allocations: 95.64 kB / 413.7 MB, free: 22.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.2072, allocations: 256.6 kB / 413.9 MB, free: 21.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.2074, allocations: 459.6 kB / 414.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2074, allocations: 0 / 414.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2074, allocations: 4 kB / 414.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2074, allocations: 0 / 414.4 MB, free: 21.38 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001074/0.2085, allocations: 0.7658 MB / 415.1 MB, free: 20.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.2086, allocations: 8.031 kB / 415.1 MB, free: 20.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.497e-05/0.2086, allocations: 64.31 kB / 415.2 MB, free: 20.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.209, allocations: 334.4 kB / 415.5 MB, free: 20.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.209, allocations: 33.38 kB / 415.6 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.209, allocations: 48.38 kB / 415.6 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.2097, allocations: 0.514 MB / 416.1 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2098, allocations: 3.938 kB / 416.1 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.2098, allocations: 20 kB / 416.1 MB, free: 19.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.2098, allocations: 15.94 kB / 416.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005628/0.2104, allocations: 323.8 kB / 416.5 MB, free: 19.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.2122, allocations: 1.569 MB / 418 MB, free: 17.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.2126, allocations: 222.5 kB / 418.3 MB, free: 17.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.2128, allocations: 112.7 kB / 418.4 MB, free: 17.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.2128, allocations: 4 kB / 418.4 MB, free: 17.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.2132, allocations: 221.7 kB / 418.6 MB, free: 16.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.2132, allocations: 0 / 418.6 MB, free: 16.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001246/0.2144, allocations: 0.7915 MB / 419.4 MB, free: 16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.2145, allocations: 320.4 kB / 419.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.2148, allocations: 302.9 kB / 420 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.2148, allocations: 33.7 kB / 420 MB, free: 15.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2149, allocations: 267.4 kB / 420.3 MB, free: 15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.215, allocations: 98.64 kB / 420.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.215, allocations: 4 kB / 420.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.2151, allocations: 338.8 kB / 420.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.2153, allocations: 108.7 kB / 420.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.2155, allocations: 266 kB / 421.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.216, allocations: 351.6 kB / 421.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.216, allocations: 0 / 421.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009279/0.2169, allocations: 0.5336 MB / 422 MB, free: 13.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.2169, allocations: 41.62 kB / 422 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.217, allocations: 4 kB / 422 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005259/0.2175, allocations: 166.4 kB / 422.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2177, allocations: 59.84 kB / 422.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.2203, allocations: 4.529 MB / 426.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.2207, allocations: 63.58 kB / 426.8 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.2207, allocations: 19.98 kB / 426.8 MB, free: 7.883 MB / 298.7 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.2208, allocations: 161.8 kB / 427 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.2209, allocations: 39.56 kB / 427 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.2209, allocations: 35.08 kB / 427.1 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.221, allocations: 11.94 kB / 427.1 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.221, allocations: 4 kB / 427.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.221, allocations: 0 / 427.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.2213, allocations: 429.1 kB / 427.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2213, allocations: 192 / 427.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.2215, allocations: 35.98 kB / 427.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/0.2217, allocations: 107.3 kB / 427.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.2217, allocations: 7.984 kB / 427.6 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.224, allocations: 5.293 MB / 432.9 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.224, allocations: 4.156 kB / 432.9 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.2246, allocations: 372.7 kB / 433.3 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.2247, allocations: 104.8 kB / 433.4 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.2247, allocations: 11.98 kB / 433.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.225, allocations: 31.98 kB / 433.5 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.2251, allocations: 39.88 kB / 433.5 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.2251, allocations: 8 kB / 433.5 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.2253, allocations: 213.9 kB / 433.7 MB, free: 364 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2253, allocations: 0 / 433.7 MB, free: 364 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.2257, allocations: 151.6 kB / 433.9 MB, free: 212 kB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001152/0.2259, allocations: 119.1 kB / 434 MB, free: 80 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.227, allocations: 0.7216 MB / 434.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.227, allocations: 3.938 kB / 434.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006545/0.2277, allocations: 0.5855 MB / 435.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.228, allocations: 61.22 kB / 435.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2292, allocations: 0.8658 MB / 436.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.2295, allocations: 0.8115 MB / 437 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.289e-05/0.2296, allocations: 35.42 kB / 437.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2296, allocations: 0 / 437.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of Templates: time 0.01168/0.2413, allocations: 10.45 MB / 447.5 MB, free: 2.387 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines --alarm=480 > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)