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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008559/0.008559, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.001544/0.001544, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.722/1.722, allocations: 205.1 MB / 222.6 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3774/0.3774, allocations: 39.94 MB / 309.8 MB, free: 9.672 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.2. 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: 71.89 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3627, allocations: 56.87 MB / 492.6 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003835/0.3666, allocations: 2.527 MB / 495.2 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3679, allocations: 0.6443 MB / 495.8 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.3681, allocations: 2.781 kB / 495.8 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.3683, allocations: 44 kB / 495.8 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.3684, allocations: 73.53 kB / 495.9 MB, free: 17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.3687, allocations: 72.73 kB / 496 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.3691, allocations: 288.6 kB / 496.3 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.3693, allocations: 89.31 kB / 496.4 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.3695, allocations: 111.7 kB / 496.5 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.3697, allocations: 121.3 kB / 496.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.3698, allocations: 22.91 kB / 496.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.076e-05/0.3698, allocations: 23.88 kB / 496.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.3699, allocations: 51.03 kB / 496.7 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.37, allocations: 126 kB / 496.8 MB, free: 16.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.3704, allocations: 287.6 kB / 497.1 MB, free: 16.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3704, allocations: 0 / 497.1 MB, free: 16.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3704, allocations: 1.125 kB / 497.1 MB, free: 16.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3705, allocations: 0 / 497.1 MB, free: 16.43 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.000801/0.3713, allocations: 0.5289 MB / 497.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3713, allocations: 18.88 kB / 497.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/0.3714, allocations: 25.88 kB / 497.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.3717, allocations: 247.4 kB / 497.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3718, allocations: 17.7 kB / 497.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.3718, allocations: 18.06 kB / 497.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.3722, allocations: 195.2 kB / 498.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3722, allocations: 0 / 498.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.3723, allocations: 11.64 kB / 498.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3723, allocations: 5.125 kB / 498.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.3726, allocations: 145.5 kB / 498.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.3739, allocations: 0.7944 MB / 499.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.3742, allocations: 103.9 kB / 499.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3743, allocations: 47.73 kB / 499.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3743, allocations: 5.188 kB / 499.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3743, allocations: 36.58 kB / 499.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.3743, allocations: 1.312 kB / 499.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001779/0.3761, allocations: 0.7155 MB / 500 MB, free: 14.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.3762, allocations: 53.69 kB / 0.4883 GB, free: 14.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.3764, allocations: 214.2 kB / 0.4885 GB, free: 14.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3764, allocations: 27.23 kB / 0.4885 GB, free: 14.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3765, allocations: 168.2 kB / 0.4887 GB, free: 14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.3766, allocations: 55.72 kB / 0.4888 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.3767, allocations: 42.31 kB / 0.4888 GB, free: 13.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3768, allocations: 336.5 kB / 0.4891 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.377, allocations: 60.8 kB / 0.4892 GB, free: 13.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.3772, allocations: 110 kB / 0.4893 GB, free: 13.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.3775, allocations: 173.6 kB / 0.4894 GB, free: 13.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3775, allocations: 1.156 kB / 0.4894 GB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005837/0.3781, allocations: 282.8 kB / 0.4897 GB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.3781, allocations: 5.469 kB / 0.4897 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.3782, allocations: 1.781 kB / 0.4897 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003147/0.3785, allocations: 71.22 kB / 0.4898 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.3787, allocations: 37.83 kB / 0.4898 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.3811, allocations: 3.021 MB / 0.4928 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.3813, allocations: 9.969 kB / 0.4928 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.3813, allocations: 6 kB / 0.4928 GB, free: 10.25 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.0001784/0.3815, allocations: 140.9 kB / 0.4929 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.3816, allocations: 22.28 kB / 0.4929 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.3816, allocations: 24.98 kB / 0.493 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3816, allocations: 1.984 kB / 0.493 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.3816, allocations: 1.281 kB / 0.493 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3816, allocations: 2.469 kB / 0.493 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.3821, allocations: 283.6 kB / 0.4932 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3821, allocations: 1.188 kB / 0.4933 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.3822, allocations: 18.14 kB / 0.4933 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.3824, allocations: 73.52 kB / 0.4933 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3824, allocations: 2.5 kB / 0.4933 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.3842, allocations: 3.012 MB / 0.4963 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3842, allocations: 6.062 kB / 0.4963 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.3848, allocations: 397.8 kB / 0.4967 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.3849, allocations: 91.2 kB / 0.4968 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.3849, allocations: 6.031 kB / 0.4968 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.3851, allocations: 17.38 kB / 0.4968 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.3852, allocations: 12.78 kB / 0.4968 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3852, allocations: 9.156 kB / 0.4968 GB, free: 6.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.3854, allocations: 152.2 kB / 0.4969 GB, free: 6.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3854, allocations: 4.062 kB / 0.4969 GB, free: 6.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.3858, allocations: 64.38 kB / 0.497 GB, free: 6.375 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.0001141/0.3859, allocations: 103 kB / 0.4971 GB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007591/0.3866, allocations: 408.1 kB / 0.4975 GB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3867, allocations: 0 / 0.4975 GB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.3871, allocations: 326.2 kB / 0.4978 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.3875, allocations: 31.03 kB / 0.4978 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.3886, allocations: 0.511 MB / 0.4983 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3889, allocations: 0.742 MB / 0.4991 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.785e-05/0.389, allocations: 22.3 kB / 0.4991 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.389, allocations: 15.86 kB / 0.4991 GB, free: 4.672 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.389, allocations: 0 / 0.4991 GB, free: 4.672 MB / 382.1 MB Notification: Performance of Templates: time 0.008858/0.3979, allocations: 2.801 MB / 0.5018 GB, free: 3.672 MB / 382.1 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)