Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 200.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007746/0.0007748, allocations: 88.36 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2003/0.2003, allocations: 45.13 MB / 383.7 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.529e-05, allocations: 4 kB / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4067/0.5195, allocations: 89.12 MB / 0.5914 GB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.5198, allocations: 59.41 kB / 0.5914 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0169/0.5367, allocations: 4.124 MB / 0.5955 GB, free: 10 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5368, allocations: 2.734 kB / 0.5955 GB, free: 10 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.651e-05/0.5368, allocations: 4 kB / 0.5955 GB, free: 10 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001063/0.5379, allocations: 0.4892 MB / 0.596 GB, free: 9.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.538, allocations: 12.02 kB / 0.596 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.5383, allocations: 43.67 kB / 0.596 GB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000552/0.5388, allocations: 241 kB / 0.5962 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.5389, allocations: 4 kB / 0.5962 GB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.929e-05/0.5389, allocations: 12 kB / 0.5963 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003693/0.5393, allocations: 120.7 kB / 0.5964 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.5397, allocations: 146.6 kB / 0.5965 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5398, allocations: 4 kB / 0.5965 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.5398, allocations: 0 / 0.5965 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.5398, allocations: 8 kB / 0.5965 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.5416, allocations: 0.765 MB / 0.5973 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.5419, allocations: 93.42 kB / 0.5974 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.612e-05/0.542, allocations: 38.23 kB / 0.5974 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.542, allocations: 0 / 0.5974 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.5421, allocations: 33.88 kB / 0.5974 GB, free: 8.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.5421, allocations: 4.656 kB / 0.5974 GB, free: 8.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001968/0.5441, allocations: 0.6019 MB / 0.598 GB, free: 7.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.5441, allocations: 51.41 kB / 0.5981 GB, free: 7.449 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.5444, allocations: 178.3 kB / 0.5982 GB, free: 7.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.5444, allocations: 25.7 kB / 0.5983 GB, free: 7.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.5446, allocations: 167.1 kB / 0.5984 GB, free: 7.113 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.5446, allocations: 54.02 kB / 0.5985 GB, free: 7.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.5447, allocations: 3.938 kB / 0.5985 GB, free: 7.062 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5448, allocations: 333.8 kB / 0.5988 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.5449, allocations: 46.94 kB / 0.5988 GB, free: 6.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.5451, allocations: 83.56 kB / 0.5989 GB, free: 6.629 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.5453, allocations: 62.28 kB / 0.599 GB, free: 6.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5453, allocations: 4 kB / 0.599 GB, free: 6.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006535/0.546, allocations: 234.3 kB / 0.5992 GB, free: 6.395 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.546, allocations: 7.984 kB / 0.5992 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.546, allocations: 4 kB / 0.5992 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003641/0.5464, allocations: 71.09 kB / 0.5993 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.5467, allocations: 31.92 kB / 0.5993 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.5495, allocations: 2.691 MB / 0.6019 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.5497, allocations: 4.188 kB / 0.6019 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.5498, allocations: 12 kB / 0.602 GB, free: 3.539 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.5499, allocations: 111.8 kB / 0.6021 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.55, allocations: 23.77 kB / 0.6021 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/0.5501, allocations: 19.72 kB / 0.6021 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.5501, allocations: 0 / 0.6021 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5501, allocations: 8.062 kB / 0.6021 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5501, allocations: 3.984 kB / 0.6021 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.5505, allocations: 232.2 kB / 0.6023 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5505, allocations: 0 / 0.6023 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.5507, allocations: 19.05 kB / 0.6024 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.551, allocations: 70.31 kB / 0.6024 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.551, allocations: 0 / 0.6024 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002798/0.5538, allocations: 2.685 MB / 0.605 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5539, allocations: 0 / 0.605 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007249/0.5546, allocations: 353 kB / 0.6054 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5547, allocations: 92.95 kB / 0.6055 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.5548, allocations: 0 / 0.6055 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.5551, allocations: 15.98 kB / 0.6055 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.5552, allocations: 27.61 kB / 0.6055 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.5552, allocations: 4 kB / 0.6055 GB, free: 15.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.5554, allocations: 140.3 kB / 0.6056 GB, free: 15.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5554, allocations: 0 / 0.6056 GB, free: 15.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006257/0.556, allocations: 63.98 kB / 0.6057 GB, free: 15.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.5562, allocations: 103.1 kB / 0.6058 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007318/0.5569, allocations: 372.3 kB / 0.6062 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.557, allocations: 0 / 0.6062 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.5575, allocations: 290.1 kB / 0.6064 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.5578, allocations: 23.3 kB / 0.6065 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.5589, allocations: 333.4 kB / 0.6068 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.5593, allocations: 0.7516 MB / 0.6075 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.5595, allocations: 21.84 kB / 0.6075 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.5596, allocations: 19.38 kB / 0.6076 GB, free: 13.82 MB / 410.7 MB Notification: Performance of SimCode: time 4.9e-07/0.5596, allocations: 0 / 0.6076 GB, free: 13.82 MB / 410.7 MB Notification: Performance of Templates: time 0.007771/0.5674, allocations: 2.155 MB / 0.6097 GB, free: 11.69 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)