Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001049/0.001049, allocations: 182.1 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.385/1.385, allocations: 194.3 MB / 207.5 MB, free: 3.391 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001636/0.001636, allocations: 102.2 kB / 252.6 MB, free: 4.789 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2224/0.2224, allocations: 39.95 MB / 337.5 MB, free: 460 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.01e-05, allocations: 8 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4402/0.5718, allocations: 82.14 MB / 0.5247 GB, free: 8.953 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.572, allocations: 66.09 kB / 0.5248 GB, free: 8.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009056/0.581, allocations: 3.885 MB / 0.5285 GB, free: 5.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5811, allocations: 0 / 0.5285 GB, free: 5.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.5811, allocations: 4 kB / 0.5286 GB, free: 5.789 MB / 346.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.0007152/0.5819, allocations: 491.4 kB / 0.529 GB, free: 5.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/0.5819, allocations: 8.031 kB / 0.529 GB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.582, allocations: 27.72 kB / 0.5291 GB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.5824, allocations: 248.5 kB / 0.5293 GB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.5824, allocations: 15.12 kB / 0.5293 GB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.5825, allocations: 22.59 kB / 0.5293 GB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.5829, allocations: 184.3 kB / 0.5295 GB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.5829, allocations: 0 / 0.5295 GB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.5829, allocations: 14.83 kB / 0.5295 GB, free: 4.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.583, allocations: 4 kB / 0.5295 GB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.5832, allocations: 130 kB / 0.5296 GB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.5846, allocations: 0.8165 MB / 0.5304 GB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.5847, allocations: 84.86 kB / 0.5305 GB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.5848, allocations: 48.73 kB / 0.5306 GB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.5849, allocations: 4.156 kB / 0.5306 GB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.5849, allocations: 34.55 kB / 0.5306 GB, free: 3.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.5849, allocations: 3.938 kB / 0.5306 GB, free: 3.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001348/0.5863, allocations: 0.6358 MB / 0.5312 GB, free: 3.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.5863, allocations: 55.39 kB / 0.5313 GB, free: 3.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.5865, allocations: 191 kB / 0.5315 GB, free: 2.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.5865, allocations: 33.36 kB / 0.5315 GB, free: 2.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.5866, allocations: 169.8 kB / 0.5317 GB, free: 2.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.5866, allocations: 58.09 kB / 0.5317 GB, free: 2.762 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.5866, allocations: 3.812 kB / 0.5317 GB, free: 2.762 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.5867, allocations: 326 kB / 0.532 GB, free: 2.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.5868, allocations: 53.19 kB / 0.5321 GB, free: 2.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.416e-05/0.5869, allocations: 94.39 kB / 0.5322 GB, free: 2.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.597e-05/0.587, allocations: 64.72 kB / 0.5322 GB, free: 2.277 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.587, allocations: 0 / 0.5322 GB, free: 2.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003646/0.5874, allocations: 265.6 kB / 0.5325 GB, free: 2.066 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5874, allocations: 4 kB / 0.5325 GB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5874, allocations: 0 / 0.5325 GB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/0.5877, allocations: 76.17 kB / 0.5326 GB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.5879, allocations: 31.98 kB / 0.5326 GB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.5898, allocations: 2.81 MB / 0.5353 GB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.59, allocations: 7.188 kB / 0.5353 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.59, allocations: 11.19 kB / 0.5354 GB, free: 15.07 MB / 362.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.0001191/0.5901, allocations: 123 kB / 0.5355 GB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.5902, allocations: 16 kB / 0.5355 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.5903, allocations: 25.14 kB / 0.5355 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5903, allocations: 4 kB / 0.5355 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.5903, allocations: 7.953 kB / 0.5355 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5903, allocations: 0 / 0.5355 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.5906, allocations: 287.9 kB / 0.5358 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5906, allocations: 0 / 0.5358 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.5907, allocations: 19.98 kB / 0.5358 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.5909, allocations: 66.42 kB / 0.5359 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.591, allocations: 4 kB / 0.5359 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/0.5933, allocations: 2.794 MB / 0.5386 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5934, allocations: 0 / 0.5386 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005152/0.5939, allocations: 362.4 kB / 0.539 GB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.594, allocations: 100.8 kB / 0.5391 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.594, allocations: 7.75 kB / 0.5391 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.5942, allocations: 15.98 kB / 0.5391 GB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.5943, allocations: 19.61 kB / 0.5391 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.5943, allocations: 4 kB / 0.5391 GB, free: 11.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.5944, allocations: 147.3 kB / 0.5392 GB, free: 11.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5944, allocations: 4 kB / 0.5392 GB, free: 11.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003454/0.5948, allocations: 71.14 kB / 0.5393 GB, free: 11.03 MB / 362.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.0001701/0.595, allocations: 99.94 kB / 0.5394 GB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005983/0.5956, allocations: 371.6 kB / 0.5398 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5956, allocations: 320 / 0.5398 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004602/0.5961, allocations: 334.2 kB / 0.5401 GB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.5964, allocations: 26.89 kB / 0.5401 GB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.5971, allocations: 344.9 kB / 0.5404 GB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.5974, allocations: 0.7518 MB / 0.5412 GB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.1e-05/0.5975, allocations: 18.08 kB / 0.5412 GB, free: 9.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.5976, allocations: 15.44 kB / 0.5412 GB, free: 9.113 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5976, allocations: 0 / 0.5412 GB, free: 9.113 MB / 362.7 MB Notification: Performance of Templates: time 0.005689/0.6033, allocations: 2.444 MB / 0.5436 GB, free: 6.707 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1)