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.0009619/0.0009619, allocations: 196.3 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 226.5 MB / 245.4 MB, free: 6.426 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007395/0.0007395, allocations: 90.91 kB / 297.4 MB, free: 6.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002157/0.0002158, allocations: 8 kB / 357.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2191, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09083/0.3099, allocations: 80.21 MB / 488.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.3102, allocations: 75.95 kB / 488.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03519/0.3454, allocations: 13.72 MB / 0.4909 GB, free: 13.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3454, allocations: 0 / 0.4909 GB, free: 13.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.3455, allocations: 8 kB / 0.4909 GB, free: 13.54 MB / 378.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.001244/0.3467, allocations: 0.7746 MB / 0.4916 GB, free: 12.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3468, allocations: 8.031 kB / 0.4917 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.979e-05/0.3469, allocations: 56.56 kB / 0.4917 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.3473, allocations: 334.4 kB / 0.492 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.3473, allocations: 33.38 kB / 0.4921 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.3474, allocations: 56.36 kB / 0.4921 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008421/0.3482, allocations: 0.5067 MB / 0.4926 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.3483, allocations: 3.938 kB / 0.4926 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.3483, allocations: 24 kB / 0.4926 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3483, allocations: 12 kB / 0.4926 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006302/0.349, allocations: 327.7 kB / 0.493 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.3511, allocations: 1.592 MB / 0.4945 GB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.3517, allocations: 231 kB / 0.4947 GB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.3519, allocations: 104.8 kB / 0.4948 GB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3519, allocations: 0 / 0.4948 GB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000391/0.3523, allocations: 225.7 kB / 0.4951 GB, free: 9.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.452e-06/0.3523, allocations: 0 / 0.4951 GB, free: 9.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.001471/0.3538, allocations: 0.7917 MB / 0.4958 GB, free: 8.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.3539, allocations: 316.4 kB / 0.4961 GB, free: 7.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.3543, allocations: 306.9 kB / 0.4964 GB, free: 7.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.3543, allocations: 33.7 kB / 0.4965 GB, free: 7.391 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.3545, allocations: 267.4 kB / 0.4967 GB, free: 7.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.3545, allocations: 94.64 kB / 0.4968 GB, free: 7.027 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.3546, allocations: 12 kB / 0.4968 GB, free: 7.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3547, allocations: 338.8 kB / 0.4971 GB, free: 6.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.355, allocations: 100.7 kB / 0.4972 GB, free: 6.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.3553, allocations: 269.2 kB / 0.4975 GB, free: 6.238 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/0.3559, allocations: 347.7 kB / 0.4978 GB, free: 5.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3559, allocations: 0 / 0.4978 GB, free: 5.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001092/0.357, allocations: 0.5382 MB / 0.4983 GB, free: 5.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.357, allocations: 33.69 kB / 0.4984 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.357, allocations: 4 kB / 0.4984 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.3577, allocations: 186.3 kB / 0.4986 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.3579, allocations: 51.91 kB / 0.4986 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.3614, allocations: 4.533 MB / 0.503 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.3618, allocations: 63.56 kB / 0.5031 GB, free: 16 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.3619, allocations: 16.25 kB / 0.5031 GB, free: 0 / 378.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.1589/0.5207, allocations: 163 kB / 0.5033 GB, free: 95.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.881e-05/0.5208, allocations: 34.91 kB / 0.5033 GB, free: 95.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/0.5209, allocations: 35.47 kB / 0.5033 GB, free: 95.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5209, allocations: 2.828 kB / 0.5033 GB, free: 95.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5209, allocations: 1.844 kB / 0.5033 GB, free: 95.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.5209, allocations: 2.344 kB / 0.5033 GB, free: 95.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.5214, allocations: 427.1 kB / 0.5037 GB, free: 95.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.5215, allocations: 0 / 0.5037 GB, free: 95.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.5217, allocations: 41.38 kB / 0.5038 GB, free: 95.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003865/0.5221, allocations: 118.3 kB / 0.5039 GB, free: 95.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.5221, allocations: 6.156 kB / 0.5039 GB, free: 95.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.5247, allocations: 5.226 MB / 0.509 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5247, allocations: 3.312 kB / 0.509 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007884/0.5255, allocations: 364.7 kB / 0.5094 GB, free: 90.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.5256, allocations: 117.3 kB / 0.5095 GB, free: 90.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.5257, allocations: 10.23 kB / 0.5095 GB, free: 90.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.5259, allocations: 31.58 kB / 0.5095 GB, free: 90.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.5261, allocations: 32.7 kB / 0.5095 GB, free: 90.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.5261, allocations: 16.16 kB / 0.5096 GB, free: 90.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.5263, allocations: 211.8 kB / 0.5098 GB, free: 90.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5263, allocations: 0 / 0.5098 GB, free: 90.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005533/0.5269, allocations: 156.1 kB / 0.5099 GB, free: 90.47 MB / 378.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.0001481/0.527, allocations: 119.4 kB / 0.51 GB, free: 90.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.5281, allocations: 0.7226 MB / 0.5107 GB, free: 89.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5281, allocations: 0 / 0.5107 GB, free: 89.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.5287, allocations: 0.5995 MB / 0.5113 GB, free: 89.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.5291, allocations: 61.78 kB / 0.5114 GB, free: 89.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.5301, allocations: 0.8782 MB / 0.5122 GB, free: 89.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.5304, allocations: 0.814 MB / 0.513 GB, free: 88.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.574e-05/0.5305, allocations: 31.89 kB / 0.5131 GB, free: 88.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5305, allocations: 1.562 kB / 0.5131 GB, free: 88.32 MB / 378.7 MB Notification: Performance of Templates: time 0.00959/0.5401, allocations: 10.46 MB / 0.5233 GB, free: 84.75 MB / 378.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)