Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008225/0.008225, allocations: 102.2 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 194.4 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3747/0.3747, allocations: 38 MB / 307.9 MB, free: 10.18 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 72.5 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3839, allocations: 56.46 MB / 489.4 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003414/0.3874, allocations: 2.516 MB / 491.9 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3885, allocations: 0.6433 MB / 492.6 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.3886, allocations: 3.969 kB / 492.6 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.3888, allocations: 36.03 kB / 492.6 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.389, allocations: 73.59 kB / 492.7 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.3892, allocations: 69.48 kB / 492.8 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.3896, allocations: 296.3 kB / 493.1 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.3898, allocations: 92.67 kB / 493.1 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.3901, allocations: 116.6 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.3903, allocations: 117.3 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.3903, allocations: 22.81 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.3904, allocations: 30.19 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.3904, allocations: 52.55 kB / 493.5 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.3906, allocations: 121.3 kB / 493.6 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.391, allocations: 280.2 kB / 493.9 MB, free: 17.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.391, allocations: 3.938 kB / 493.9 MB, free: 17.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.391, allocations: 3.938 kB / 493.9 MB, free: 17.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.391, allocations: 1.188 kB / 493.9 MB, free: 17.1 MB / 382.1 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.0008547/0.3919, allocations: 0.5297 MB / 494.4 MB, free: 16.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3919, allocations: 12.8 kB / 494.4 MB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.392, allocations: 31.69 kB / 494.5 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3923, allocations: 247.8 kB / 494.7 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3924, allocations: 16.56 kB / 494.7 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.3924, allocations: 21.77 kB / 494.7 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.3928, allocations: 195.3 kB / 494.9 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3928, allocations: 4 kB / 494.9 MB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.3929, allocations: 10.8 kB / 494.9 MB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.3929, allocations: 5.688 kB / 494.9 MB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.3932, allocations: 138.6 kB / 495.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.3945, allocations: 0.8013 MB / 495.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3947, allocations: 95.97 kB / 496 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/0.3948, allocations: 53.36 kB / 496 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3948, allocations: 1.5 kB / 496 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.3949, allocations: 32.78 kB / 496.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.405e-06/0.3949, allocations: 0 / 496.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001716/0.3966, allocations: 0.7154 MB / 496.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3967, allocations: 57.59 kB / 496.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.3969, allocations: 221.5 kB / 497 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3969, allocations: 27.83 kB / 497.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.397, allocations: 167.8 kB / 497.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.397, allocations: 55.75 kB / 497.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.3971, allocations: 38.64 kB / 497.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.418e-05/0.3972, allocations: 333.4 kB / 497.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.3973, allocations: 59.47 kB / 497.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.3975, allocations: 107.4 kB / 497.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.3978, allocations: 176.5 kB / 498 MB, free: 14.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3978, allocations: 1.25 kB / 498 MB, free: 14.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004978/0.3983, allocations: 274.2 kB / 498.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3983, allocations: 7.031 kB / 498.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.3984, allocations: 10.11 kB / 498.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/0.3986, allocations: 73.75 kB / 498.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.3988, allocations: 34.05 kB / 498.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.4009, allocations: 3.012 MB / 0.4896 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.401, allocations: 10.8 kB / 0.4897 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.4011, allocations: 5.562 kB / 0.4897 GB, free: 10.93 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.4012, allocations: 150.5 kB / 0.4898 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.4013, allocations: 18.03 kB / 0.4898 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.4013, allocations: 24.53 kB / 0.4898 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4013, allocations: 1.281 kB / 0.4898 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.4013, allocations: 1.25 kB / 0.4898 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.4013, allocations: 2.281 kB / 0.4898 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.4018, allocations: 290.2 kB / 0.4901 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4018, allocations: 0.6562 kB / 0.4901 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/0.4019, allocations: 19.36 kB / 0.4901 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.4021, allocations: 78.62 kB / 0.4902 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.4021, allocations: 1.984 kB / 0.4902 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.4042, allocations: 3.001 MB / 0.4932 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4042, allocations: 0 / 0.4932 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.4048, allocations: 404.6 kB / 0.4935 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.4049, allocations: 98.62 kB / 0.4936 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.4049, allocations: 1.562 kB / 0.4936 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.4051, allocations: 18.56 kB / 0.4937 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.4052, allocations: 13.45 kB / 0.4937 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.4052, allocations: 11.22 kB / 0.4937 GB, free: 7.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.4054, allocations: 153.6 kB / 0.4938 GB, free: 7.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4054, allocations: 0 / 0.4938 GB, free: 7.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.4058, allocations: 63.12 kB / 0.4939 GB, free: 7.043 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.4059, allocations: 97.47 kB / 0.494 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007797/0.4067, allocations: 410.9 kB / 0.4944 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4067, allocations: 0.9688 kB / 0.4944 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.4071, allocations: 327.7 kB / 0.4947 GB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.4075, allocations: 30.48 kB / 0.4947 GB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.4085, allocations: 0.5097 MB / 0.4952 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.4088, allocations: 0.7467 MB / 0.4959 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.136e-05/0.4089, allocations: 18.05 kB / 0.496 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.4089, allocations: 19.45 kB / 0.496 GB, free: 5.336 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4089, allocations: 0 / 0.496 GB, free: 5.336 MB / 382.1 MB Notification: Performance of Templates: time 0.009563/0.4185, allocations: 2.723 MB / 0.4986 GB, free: 5.102 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1)