Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004154/0.00416, allocations: 350.7 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.872/3.872, allocations: 341.5 MB / 358.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003526/0.003526, allocations: 213.5 kB / 397.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5341/0.5341, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 8 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.1001, allocations: 48.71 MB / 0.6067 GB, free: 4.668 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4961/0.5963, allocations: 76.01 MB / 0.6809 GB, free: 36.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.5966, allocations: 59.98 kB / 0.681 GB, free: 36.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.6125, allocations: 3.941 MB / 0.6849 GB, free: 32.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6126, allocations: 0 / 0.6849 GB, free: 32.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.6126, allocations: 4 kB / 0.6849 GB, free: 32.83 MB / 362.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.0009122/0.6136, allocations: 0.5093 MB / 0.6854 GB, free: 32.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6136, allocations: 16.02 kB / 0.6854 GB, free: 32.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.614e-05/0.6137, allocations: 23.72 kB / 0.6854 GB, free: 32.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.6141, allocations: 257.8 kB / 0.6856 GB, free: 31.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.6141, allocations: 16.44 kB / 0.6857 GB, free: 31.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.6142, allocations: 17.5 kB / 0.6857 GB, free: 31.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.6147, allocations: 191.3 kB / 0.6859 GB, free: 31.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6148, allocations: 0 / 0.6859 GB, free: 31.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.6148, allocations: 12 kB / 0.6859 GB, free: 31.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.6148, allocations: 5.469 kB / 0.6859 GB, free: 31.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.6153, allocations: 137.7 kB / 0.686 GB, free: 31.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.617, allocations: 0.8228 MB / 0.6868 GB, free: 30.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.6173, allocations: 105.3 kB / 0.6869 GB, free: 30.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.6174, allocations: 52.97 kB / 0.687 GB, free: 30.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.6175, allocations: 0 / 0.687 GB, free: 30.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.6175, allocations: 32.72 kB / 0.687 GB, free: 30.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.6175, allocations: 0 / 0.687 GB, free: 30.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.002498/0.62, allocations: 0.7518 MB / 0.6877 GB, free: 29.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.6201, allocations: 51.41 kB / 0.6878 GB, free: 29.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.6204, allocations: 207.7 kB / 0.688 GB, free: 29.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.6204, allocations: 30.45 kB / 0.688 GB, free: 29.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.6205, allocations: 171.8 kB / 0.6882 GB, free: 29.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.6206, allocations: 62.66 kB / 0.6882 GB, free: 29.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.6206, allocations: 0 / 0.6882 GB, free: 29.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.6207, allocations: 334.8 kB / 0.6885 GB, free: 28.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.6209, allocations: 63.97 kB / 0.6886 GB, free: 28.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.6212, allocations: 111.9 kB / 0.6887 GB, free: 28.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.6214, allocations: 78.8 kB / 0.6888 GB, free: 28.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6215, allocations: 0 / 0.6888 GB, free: 28.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007865/0.6223, allocations: 287.5 kB / 0.6891 GB, free: 28.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6223, allocations: 8 kB / 0.6891 GB, free: 28.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6223, allocations: 0 / 0.6891 GB, free: 28.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/0.6227, allocations: 70.58 kB / 0.6891 GB, free: 28.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.623, allocations: 28.98 kB / 0.6892 GB, free: 28.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.6253, allocations: 2.81 MB / 0.6919 GB, free: 25.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.6256, allocations: 15.67 kB / 0.6919 GB, free: 25.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.6257, allocations: 12 kB / 0.6919 GB, free: 25.08 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 () * 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 (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.0001871/0.6259, allocations: 133.7 kB / 0.6921 GB, free: 24.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.6259, allocations: 19.81 kB / 0.6921 GB, free: 24.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.626, allocations: 26.08 kB / 0.6921 GB, free: 24.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.626, allocations: 1.25 kB / 0.6921 GB, free: 24.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.626, allocations: 7.938 kB / 0.6921 GB, free: 24.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6261, allocations: 0 / 0.6921 GB, free: 24.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.6264, allocations: 289.5 kB / 0.6924 GB, free: 24.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6264, allocations: 3.625 kB / 0.6924 GB, free: 24.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.6266, allocations: 23.08 kB / 0.6924 GB, free: 24.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002894/0.6269, allocations: 69.61 kB / 0.6925 GB, free: 24.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6269, allocations: 7.688 kB / 0.6925 GB, free: 24.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.6292, allocations: 2.788 MB / 0.6952 GB, free: 21.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6292, allocations: 0 / 0.6952 GB, free: 21.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/0.6302, allocations: 408.1 kB / 0.6956 GB, free: 21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.6303, allocations: 108.8 kB / 0.6957 GB, free: 20.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.6303, allocations: 8.453 kB / 0.6957 GB, free: 20.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.6307, allocations: 20 kB / 0.6957 GB, free: 20.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.6307, allocations: 19.97 kB / 0.6957 GB, free: 20.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.6308, allocations: 0 / 0.6957 GB, free: 20.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.6309, allocations: 156.4 kB / 0.6959 GB, free: 20.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/0.631, allocations: 0 / 0.6959 GB, free: 20.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005186/0.6315, allocations: 67.98 kB / 0.696 GB, free: 20.61 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 () * 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 (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.0001302/0.6316, allocations: 99.77 kB / 0.6961 GB, free: 20.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008597/0.6325, allocations: 420 kB / 0.6965 GB, free: 20.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6325, allocations: 0 / 0.6965 GB, free: 20.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005925/0.6331, allocations: 333 kB / 0.6968 GB, free: 19.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.6336, allocations: 32.14 kB / 0.6968 GB, free: 19.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.6349, allocations: 0.6022 MB / 0.6974 GB, free: 19.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.6351, allocations: 0.7629 MB / 0.6981 GB, free: 18.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.6353, allocations: 22.31 kB / 0.6982 GB, free: 18.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.6354, allocations: 23.42 kB / 0.6982 GB, free: 18.25 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6354, allocations: 0 / 0.6982 GB, free: 18.25 MB / 362.7 MB Notification: Performance of Templates: time 0.00794/0.6433, allocations: 2.447 MB / 0.7006 GB, free: 15.92 MB / 362.7 MB