Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004048/0.004052, allocations: 364 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.071/4.071, allocations: 388.9 MB / 405.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003513/0.003513, allocations: 229.2 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5225/0.5225, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006952/0.0006956, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1321, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses): time 0.01945/0.1516, allocations: 10.35 MB / 0.6902 GB, free: 31.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.1634, allocations: 3.695 MB / 0.6938 GB, free: 27.56 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.1665, allocations: 59.69 kB / 0.6939 GB, free: 27.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004087/0.1707, allocations: 0.6911 MB / 0.6945 GB, free: 26.81 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005242/0.176, allocations: 0.8584 MB / 0.6954 GB, free: 25.95 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.1783, allocations: 339.6 kB / 0.6957 GB, free: 25.61 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006954/0.1853, allocations: 3.301 MB / 0.6989 GB, free: 22.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005069/0.1904, allocations: 2.049 MB / 0.7009 GB, free: 20.22 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.1926, allocations: 1.093 MB / 0.702 GB, free: 19.12 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003049/0.1957, allocations: 1.592 MB / 0.7035 GB, free: 17.53 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008217/0.1966, allocations: 172 kB / 0.7037 GB, free: 17.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.1979, allocations: 255.9 kB / 0.704 GB, free: 17.11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.199, allocations: 0.9073 MB / 0.7048 GB, free: 16.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00088/0.1999, allocations: 0.6289 MB / 0.7055 GB, free: 15.56 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005654/0.2056, allocations: 4.449 MB / 0.7098 GB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2056, allocations: 0 / 0.7098 GB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.2056, allocations: 4 kB / 0.7098 GB, free: 11.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001712/0.2058, allocations: 0 / 0.7098 GB, free: 11.1 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 742 * Number of variables: 742 Notification: Performance of Generate backend data structure: time 0.01088/0.2167, allocations: 3.229 MB / 0.713 GB, free: 7.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.2168, allocations: 8.828 kB / 0.713 GB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002343/0.2192, allocations: 395.6 kB / 0.7133 GB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006564/0.2257, allocations: 1.868 MB / 0.7152 GB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.2261, allocations: 213.6 kB / 0.7154 GB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/0.2272, allocations: 279.9 kB / 0.7156 GB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.2411, allocations: 3.699 MB / 0.7193 GB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.2413, allocations: 7.984 kB / 0.7193 GB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005816/0.2419, allocations: 116 kB / 0.7194 GB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002496/0.2422, allocations: 141.5 kB / 0.7195 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.358/0.6002, allocations: 3.126 MB / 0.7226 GB, free: 42.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03196/0.6323, allocations: 11.57 MB / 0.7339 GB, free: 36.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006111/0.6384, allocations: 2.146 MB / 0.736 GB, free: 34.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/0.6418, allocations: 1.219 MB / 0.7371 GB, free: 34.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004288/0.6423, allocations: 208.7 kB / 0.7373 GB, free: 34.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.6423, allocations: 53.16 kB / 0.7374 GB, free: 34.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=138): time 4.068e-06/0.6423, allocations: 0 / 0.7374 GB, free: 34.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=153): time 0.03154/0.6739, allocations: 7.954 MB / 0.7452 GB, free: 29.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.674, allocations: 70.52 kB / 0.7452 GB, free: 29.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00426/0.6782, allocations: 1.918 MB / 0.7471 GB, free: 28.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003853/0.6787, allocations: 53.84 kB / 0.7472 GB, free: 28.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.6798, allocations: 1.351 MB / 0.7485 GB, free: 27.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007566/0.6805, allocations: 0.5221 MB / 0.749 GB, free: 27.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.6807, allocations: 34.94 kB / 0.749 GB, free: 26.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6809, allocations: 376.7 kB / 0.7494 GB, free: 26.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.6831, allocations: 0.8699 MB / 0.7502 GB, free: 25.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.6856, allocations: 1.339 MB / 0.7515 GB, free: 24.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.6882, allocations: 1.08 MB / 0.7526 GB, free: 23.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/0.6883, allocations: 4 kB / 0.7526 GB, free: 23.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007845/0.6962, allocations: 2.898 MB / 0.7554 GB, free: 20.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.6962, allocations: 15.98 kB / 0.7554 GB, free: 20.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/0.6963, allocations: 12 kB / 0.7554 GB, free: 20.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.6977, allocations: 394.7 kB / 0.7558 GB, free: 19.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003403/0.7012, allocations: 439.3 kB / 0.7562 GB, free: 19.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007581/0.7088, allocations: 6.201 MB / 0.7623 GB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/0.7117, allocations: 119.9 kB / 0.7624 GB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003371/0.712, allocations: 75.98 kB / 0.7625 GB, free: 12.67 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (205): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 9,(1,100.0%) 2,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002354/0.7144, allocations: 0.8994 MB / 0.7634 GB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007016/0.7151, allocations: 205.4 kB / 0.7636 GB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007692/0.7228, allocations: 2.887 MB / 0.7664 GB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.923e-05/0.7229, allocations: 7.969 kB / 0.7664 GB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.7229, allocations: 0 / 0.7664 GB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/0.7246, allocations: 494.5 kB / 0.7669 GB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006285/0.7252, allocations: 35.92 kB / 0.7669 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/0.7273, allocations: 99.98 kB / 0.767 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003498/0.7277, allocations: 137 kB / 0.7671 GB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01022/0.7379, allocations: 3.01 MB / 0.7701 GB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007424/0.7454, allocations: 3.371 MB / 0.7733 GB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002199/0.7476, allocations: 0.9471 MB / 0.7743 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00336/0.751, allocations: 1.315 MB / 0.7756 GB, free: 15.21 MB / 362.7 MB Notification: Performance of Backend: time 9.82e-07/0.7511, allocations: 0 / 0.7756 GB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006771/0.7579, allocations: 1.954 MB / 0.7775 GB, free: 13.2 MB / 362.7 MB Notification: Performance of SimCode: time 0.01839/0.7763, allocations: 7.131 MB / 0.7844 GB, free: 6.012 MB / 362.7 MB Notification: Performance of Templates: time 0.09458/0.8709, allocations: 30.84 MB / 0.8145 GB, free: 7.352 MB / 394.7 MB