Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8694/0.8694, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002004/0.002003, allocations: 143.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.681e-05/2.683e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05972/0.05977, allocations: 25.18 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06155/0.1214, allocations: 36.9 MB / 242.3 MB, free: 3.473 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/0.1218, allocations: 67.91 kB / 242.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1795/0.3013, allocations: 7.975 MB / 250.3 MB, free: 41.16 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3013, allocations: 0 / 250.3 MB, free: 41.16 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.999e-05/0.3014, allocations: 15 kB / 250.3 MB, free: 41.16 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001057/0.3024, allocations: 0.7165 MB / 251.1 MB, free: 40.64 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.3025, allocations: 11.83 kB / 251.1 MB, free: 40.64 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.3026, allocations: 67.56 kB / 251.1 MB, free: 40.6 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.3031, allocations: 350.7 kB / 251.5 MB, free: 40.31 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.3031, allocations: 40.59 kB / 251.5 MB, free: 40.29 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.3032, allocations: 51.06 kB / 251.6 MB, free: 40.27 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007806/0.304, allocations: 453 kB / 252 MB, free: 40.05 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.304, allocations: 0.5938 kB / 252 MB, free: 40.05 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.3041, allocations: 16.81 kB / 252 MB, free: 40.04 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.3041, allocations: 11.78 kB / 252 MB, free: 40.04 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006438/0.3048, allocations: 301 kB / 252.3 MB, free: 39.94 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.3073, allocations: 1.695 MB / 254 MB, free: 38.88 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.3078, allocations: 244.4 kB / 254.3 MB, free: 38.75 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.308, allocations: 126.7 kB / 254.4 MB, free: 38.69 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.308, allocations: 2.469 kB / 254.4 MB, free: 38.69 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.308, allocations: 37.22 kB / 254.4 MB, free: 38.64 MB / 186.7 MB Notification: Performance of pre-optimization done (n=30): time 2.485e-06/0.308, allocations: 1.094 kB / 254.4 MB, free: 38.64 MB / 186.7 MB Notification: Performance of matching and sorting (n=31): time 0.001527/0.3096, allocations: 0.7464 MB / 255.2 MB, free: 38.12 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.3096, allocations: 83.55 kB / 255.3 MB, free: 38.02 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.31, allocations: 342.4 kB / 255.6 MB, free: 37.84 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.31, allocations: 33.17 kB / 255.6 MB, free: 37.8 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3101, allocations: 289.4 kB / 255.9 MB, free: 37.56 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.942e-05/0.3102, allocations: 108.4 kB / 256 MB, free: 37.48 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.3102, allocations: 6.375 kB / 256 MB, free: 37.48 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.3103, allocations: 348.4 kB / 256.4 MB, free: 37.15 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3105, allocations: 86.45 kB / 256.4 MB, free: 37.12 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.3106, allocations: 177.1 kB / 256.6 MB, free: 36.97 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.3108, allocations: 112.7 kB / 256.7 MB, free: 36.93 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3108, allocations: 0 / 256.7 MB, free: 36.93 MB / 186.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000628/0.3115, allocations: 414.5 kB / 257.1 MB, free: 36.74 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3115, allocations: 5.219 kB / 257.1 MB, free: 36.74 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3115, allocations: 3.562 kB / 257.1 MB, free: 36.74 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/0.3118, allocations: 80.5 kB / 257.2 MB, free: 36.71 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.3121, allocations: 77.69 kB / 257.3 MB, free: 36.69 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.3139, allocations: 2.833 MB / 260.1 MB, free: 33.84 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.3142, allocations: 27.58 kB / 260.2 MB, free: 33.82 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.3142, allocations: 15.38 kB / 260.2 MB, free: 33.81 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor22.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real basicTransformer.i2:VARIABLE(unit = "A" ) "Current flowing from pos. to neg. pin of the right port" type: Real basicTransformer.i1:VARIABLE(unit = "A" ) "Current flowing from pos. to neg. pin of the left port" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.3144, allocations: 128.2 kB / 260.3 MB, free: 33.69 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.3145, allocations: 46.89 kB / 260.3 MB, free: 33.67 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.646e-05/0.3146, allocations: 47.12 kB / 260.4 MB, free: 33.63 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3146, allocations: 7.906 kB / 260.4 MB, free: 33.62 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3146, allocations: 3.844 kB / 260.4 MB, free: 33.62 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3146, allocations: 0 / 260.4 MB, free: 33.62 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3157, allocations: 0.8968 MB / 261.3 MB, free: 32.92 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3157, allocations: 3.984 kB / 261.3 MB, free: 32.91 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.3159, allocations: 50.53 kB / 261.3 MB, free: 32.9 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.3161, allocations: 66.78 kB / 261.4 MB, free: 32.86 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.3161, allocations: 4 kB / 261.4 MB, free: 32.86 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.3177, allocations: 2.837 MB / 264.3 MB, free: 29.96 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3178, allocations: 8.016 kB / 264.3 MB, free: 29.95 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.3184, allocations: 0.5724 MB / 264.8 MB, free: 29.35 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.3186, allocations: 140.6 kB / 265 MB, free: 29.19 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.3186, allocations: 7.984 kB / 265 MB, free: 29.18 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.319, allocations: 35.98 kB / 265 MB, free: 29.15 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.319, allocations: 27.91 kB / 265 MB, free: 29.12 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.3191, allocations: 7.984 kB / 265.1 MB, free: 29.11 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002609/0.3193, allocations: 270.2 kB / 265.3 MB, free: 28.86 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3193, allocations: 0 / 265.3 MB, free: 28.86 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005975/0.32, allocations: 116 kB / 265.4 MB, free: 28.74 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002782/0.3202, allocations: 123 kB / 265.5 MB, free: 28.61 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007919/0.321, allocations: 486.4 kB / 266 MB, free: 28.11 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3211, allocations: 4.125 kB / 266 MB, free: 28.11 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004919/0.3216, allocations: 369 kB / 266.4 MB, free: 27.72 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/0.3222, allocations: 95.22 kB / 266.5 MB, free: 27.63 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.3237, allocations: 0.6862 MB / 267.2 MB, free: 26.91 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.3241, allocations: 0.8464 MB / 268 MB, free: 26.04 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.3244, allocations: 43.23 kB / 268.1 MB, free: 26 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.3244, allocations: 35.36 kB / 268.1 MB, free: 25.96 MB / 186.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3244, allocations: 0 / 268.1 MB, free: 25.96 MB / 186.7 MB Notification: Performance of Templates: time 0.008509/0.333, allocations: 4.436 MB / 272.5 MB, free: 21.53 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)