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.008412/0.008412, allocations: 102 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.001392/0.001392, allocations: 195 kB / 16.68 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.74/1.74, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.3437/0.3437, allocations: 38 MB / 307.9 MB, free: 10.34 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.001424/0.001424, allocations: 64.47 kB / 433 MB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3184, allocations: 56.47 MB / 489.4 MB, free: 19.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003154/0.3216, allocations: 2.512 MB / 491.9 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009418/0.3226, allocations: 0.6457 MB / 492.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.3227, allocations: 3.469 kB / 492.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.3229, allocations: 40.56 kB / 492.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.3231, allocations: 73.16 kB / 492.7 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.3233, allocations: 60.83 kB / 492.8 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.3237, allocations: 295.1 kB / 493.1 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.3239, allocations: 94.14 kB / 493.1 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.3241, allocations: 115.8 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.3242, allocations: 117.3 kB / 493.4 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.3243, allocations: 26.78 kB / 493.4 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.42e-05/0.3243, allocations: 27.19 kB / 493.4 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.3244, allocations: 52.22 kB / 493.5 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.3245, allocations: 125.7 kB / 493.6 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.3248, allocations: 278.9 kB / 493.9 MB, free: 16.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3249, allocations: 0 / 493.9 MB, free: 16.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3249, allocations: 5.812 kB / 493.9 MB, free: 16.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3249, allocations: 0 / 493.9 MB, free: 16.96 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.0007771/0.3257, allocations: 0.53 MB / 494.4 MB, free: 16.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3257, allocations: 12.48 kB / 494.4 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.3258, allocations: 31.16 kB / 494.5 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.3261, allocations: 248.2 kB / 494.7 MB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.3262, allocations: 13.12 kB / 494.7 MB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.3262, allocations: 22.06 kB / 494.7 MB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.3266, allocations: 195.2 kB / 494.9 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3266, allocations: 4 kB / 494.9 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.3266, allocations: 6.656 kB / 494.9 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3267, allocations: 4.531 kB / 494.9 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.3269, allocations: 142.6 kB / 495.1 MB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.3281, allocations: 0.8018 MB / 495.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.3282, allocations: 100.4 kB / 496 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.3283, allocations: 48.97 kB / 496 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.3284, allocations: 1.062 kB / 496 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3284, allocations: 36.7 kB / 496.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.3284, allocations: 7.922 kB / 496.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001622/0.33, allocations: 0.7103 MB / 496.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.3301, allocations: 58.42 kB / 496.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.3303, allocations: 217.9 kB / 497 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.3303, allocations: 30.7 kB / 497.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.3304, allocations: 167.9 kB / 497.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.3305, allocations: 55.23 kB / 497.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.3305, allocations: 40.19 kB / 497.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.3306, allocations: 332.9 kB / 497.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3308, allocations: 58.77 kB / 497.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.3309, allocations: 111.8 kB / 497.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.3312, allocations: 177.2 kB / 498 MB, free: 13.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3312, allocations: 0 / 498 MB, free: 13.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004717/0.3317, allocations: 275.2 kB / 498.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3317, allocations: 10.56 kB / 498.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3317, allocations: 1.062 kB / 498.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.3319, allocations: 71.45 kB / 498.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3321, allocations: 33.94 kB / 498.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.3338, allocations: 3.015 MB / 0.4896 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.3339, allocations: 12.03 kB / 0.4897 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.334, allocations: 5.5 kB / 0.4897 GB, free: 10.79 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 9.606e-05/0.3341, allocations: 149.6 kB / 0.4898 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.3341, allocations: 17.44 kB / 0.4898 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.3342, allocations: 20.58 kB / 0.4898 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3342, allocations: 1.375 kB / 0.4898 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3342, allocations: 1.375 kB / 0.4898 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3342, allocations: 2.594 kB / 0.4898 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.3345, allocations: 293.2 kB / 0.4901 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3345, allocations: 1.984 kB / 0.4901 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-05/0.3346, allocations: 18.33 kB / 0.4901 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001742/0.3348, allocations: 66.33 kB / 0.4902 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3348, allocations: 5.984 kB / 0.4902 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.3365, allocations: 3.006 MB / 0.4931 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3365, allocations: 0 / 0.4931 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.3371, allocations: 406.2 kB / 0.4935 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.3371, allocations: 89.94 kB / 0.4936 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.3371, allocations: 5.766 kB / 0.4936 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3373, allocations: 14.89 kB / 0.4936 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.3374, allocations: 16.83 kB / 0.4937 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3374, allocations: 8.297 kB / 0.4937 GB, free: 7.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.3375, allocations: 157.4 kB / 0.4938 GB, free: 6.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3375, allocations: 0 / 0.4938 GB, free: 6.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.3379, allocations: 64.22 kB / 0.4939 GB, free: 6.914 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.000101/0.338, allocations: 92.97 kB / 0.494 GB, free: 6.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006359/0.3387, allocations: 410.7 kB / 0.4944 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3387, allocations: 0 / 0.4944 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.3391, allocations: 329.4 kB / 0.4947 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3394, allocations: 42.83 kB / 0.4947 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008783/0.3403, allocations: 0.5027 MB / 0.4952 GB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.3405, allocations: 0.746 MB / 0.4959 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.813e-05/0.3406, allocations: 14.45 kB / 0.4959 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.3406, allocations: 24.27 kB / 0.496 GB, free: 5.207 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3406, allocations: 0 / 0.496 GB, free: 5.207 MB / 382.1 MB Notification: Performance of Templates: time 0.007537/0.3482, allocations: 2.792 MB / 0.4987 GB, free: 4.945 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)