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.007107/0.007107, allocations: 101 kB / 15.73 MB, free: 6.039 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.001207/0.001207, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.656/1.656, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.3291/0.3291, allocations: 39.94 MB / 309.8 MB, free: 9.301 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.001488/0.001488, allocations: 71.91 kB / 435.8 MB, free: 2.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3073, allocations: 56.88 MB / 492.6 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003905/0.3112, allocations: 2.519 MB / 495.2 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3123, allocations: 0.6401 MB / 495.8 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.3125, allocations: 7.656 kB / 495.8 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.3126, allocations: 45.55 kB / 495.8 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.3128, allocations: 67.61 kB / 495.9 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.313, allocations: 77.67 kB / 496 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.3133, allocations: 286.6 kB / 496.3 MB, free: 16.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.3135, allocations: 91.25 kB / 496.4 MB, free: 16.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3136, allocations: 110.3 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3138, allocations: 117.4 kB / 496.6 MB, free: 16.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.3138, allocations: 22.34 kB / 496.6 MB, free: 16.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.885e-05/0.3139, allocations: 27.59 kB / 496.6 MB, free: 16.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.3139, allocations: 52.31 kB / 496.7 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.314, allocations: 128.8 kB / 496.8 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.3143, allocations: 283.6 kB / 497.1 MB, free: 16.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3143, allocations: 0.9688 kB / 497.1 MB, free: 16.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3144, allocations: 0 / 497.1 MB, free: 16.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3144, allocations: 0 / 497.1 MB, free: 16.55 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.0007517/0.3151, allocations: 0.5339 MB / 497.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3152, allocations: 13.27 kB / 497.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.3152, allocations: 27.27 kB / 497.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.3156, allocations: 244 kB / 497.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3156, allocations: 17.28 kB / 497.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.3157, allocations: 17.31 kB / 497.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.316, allocations: 194.9 kB / 498.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3161, allocations: 5.109 kB / 498.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.3161, allocations: 13.97 kB / 498.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3161, allocations: 4.688 kB / 498.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.3164, allocations: 143.2 kB / 498.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.3175, allocations: 0.799 MB / 499.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3177, allocations: 103.8 kB / 499.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.3178, allocations: 47.61 kB / 499.2 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.3178, allocations: 5.406 kB / 499.2 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.3178, allocations: 32.77 kB / 499.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.3179, allocations: 3.938 kB / 499.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001606/0.3195, allocations: 0.7161 MB / 500 MB, free: 14.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.3195, allocations: 53.62 kB / 0.4883 GB, free: 14.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3197, allocations: 214.4 kB / 0.4885 GB, free: 14.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3197, allocations: 30.83 kB / 0.4885 GB, free: 14.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.3198, allocations: 168.3 kB / 0.4887 GB, free: 14.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.3198, allocations: 51.25 kB / 0.4888 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.3199, allocations: 47.92 kB / 0.4888 GB, free: 14.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.264e-05/0.32, allocations: 332.8 kB / 0.4891 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3201, allocations: 59.27 kB / 0.4892 GB, free: 13.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.3203, allocations: 111.1 kB / 0.4893 GB, free: 13.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.3205, allocations: 172.7 kB / 0.4894 GB, free: 13.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3206, allocations: 1.781 kB / 0.4895 GB, free: 13.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004845/0.321, allocations: 278.2 kB / 0.4897 GB, free: 13.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.3211, allocations: 6.125 kB / 0.4897 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3211, allocations: 5.5 kB / 0.4897 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/0.3213, allocations: 68.19 kB / 0.4898 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3215, allocations: 36.45 kB / 0.4898 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.3232, allocations: 3.017 MB / 0.4928 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.3233, allocations: 11.86 kB / 0.4928 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.3233, allocations: 5.5 kB / 0.4928 GB, free: 10.38 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.0001081/0.3235, allocations: 145.4 kB / 0.4929 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3235, allocations: 18.53 kB / 0.4929 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.3235, allocations: 23.72 kB / 0.493 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3236, allocations: 2.859 kB / 0.493 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.3236, allocations: 1.781 kB / 0.493 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3236, allocations: 0.75 kB / 0.493 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.3238, allocations: 286.7 kB / 0.4932 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3238, allocations: 0 / 0.4932 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.093e-05/0.3239, allocations: 20.67 kB / 0.4933 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000171/0.3241, allocations: 78.03 kB / 0.4933 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3241, allocations: 2.688 kB / 0.4933 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.3256, allocations: 3.01 MB / 0.4963 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3256, allocations: 0 / 0.4963 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.3262, allocations: 395.8 kB / 0.4967 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.3262, allocations: 91.2 kB / 0.4967 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.3263, allocations: 13.59 kB / 0.4968 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.3265, allocations: 18.78 kB / 0.4968 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.3265, allocations: 12.59 kB / 0.4968 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3265, allocations: 8.234 kB / 0.4968 GB, free: 6.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.3267, allocations: 156.3 kB / 0.4969 GB, free: 6.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3267, allocations: 0 / 0.4969 GB, free: 6.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.327, allocations: 63.97 kB / 0.497 GB, free: 6.492 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 8.317e-05/0.3271, allocations: 107.5 kB / 0.4971 GB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000568/0.3277, allocations: 407.3 kB / 0.4975 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3277, allocations: 0 / 0.4975 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.328, allocations: 331.9 kB / 0.4978 GB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.3284, allocations: 35.72 kB / 0.4978 GB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008321/0.3292, allocations: 0.4977 MB / 0.4983 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.3294, allocations: 0.7469 MB / 0.4991 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.976e-05/0.3295, allocations: 14.39 kB / 0.4991 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.3295, allocations: 16.06 kB / 0.4991 GB, free: 4.797 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3295, allocations: 4 kB / 0.4991 GB, free: 4.793 MB / 382.1 MB Notification: Performance of Templates: time 0.005622/0.3352, allocations: 2.73 MB / 0.5018 GB, free: 3.824 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)