Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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) 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(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001181/0.001181, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 222.1 MB, free: 5.371 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0005112/0.0005113, allocations: 8 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2708, allocations: 47.59 MB / 326.5 MB, free: 1.641 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01109/0.2819, allocations: 9.605 MB / 336.1 MB, free: 10 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008448/0.2904, allocations: 3.462 MB / 339.6 MB, free: 6.531 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.2931, allocations: 55.69 kB / 339.6 MB, free: 6.477 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.2959, allocations: 0.6484 MB / 340.3 MB, free: 5.824 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004571/0.3005, allocations: 0.7225 MB / 341 MB, free: 5.098 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.3021, allocations: 299.5 kB / 341.3 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006183/0.3083, allocations: 2.97 MB / 344.2 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004415/0.3128, allocations: 1.808 MB / 346 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.3157, allocations: 1.008 MB / 347.1 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003715/0.3195, allocations: 1.416 MB / 348.5 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.3207, allocations: 152 kB / 348.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.3224, allocations: 239.8 kB / 348.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001712/0.3241, allocations: 0.8022 MB / 349.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.3258, allocations: 0.5782 MB / 350.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005718/0.3315, allocations: 3.919 MB / 354.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.3316, allocations: 0 / 354.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3316, allocations: 0 / 354.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002219/0.3318, allocations: 4 kB / 354.2 MB, free: 7.84 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.007377/0.3392, allocations: 2.868 MB / 357 MB, free: 4.906 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3393, allocations: 16.02 kB / 357 MB, free: 4.891 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.3408, allocations: 340.1 kB / 357.4 MB, free: 4.555 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004169/0.3449, allocations: 1.639 MB / 359 MB, free: 2.859 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.3452, allocations: 193 kB / 359.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009454/0.3462, allocations: 247.9 kB / 359.4 MB, free: 2.426 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007618/0.3538, allocations: 3.268 MB / 362.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.928e-05/0.3539, allocations: 11.84 kB / 362.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.3542, allocations: 104 kB / 362.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.3543, allocations: 128.9 kB / 363 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004905/0.3592, allocations: 2.732 MB / 365.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01761/0.3769, allocations: 10.55 MB / 376.2 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.3788, allocations: 1.346 MB / 377.6 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.38, allocations: 0.7774 MB / 378.4 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.3803, allocations: 204.2 kB / 378.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.3804, allocations: 55.5 kB / 378.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 2.886e-06/0.3804, allocations: 0 / 378.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01644/0.3969, allocations: 7.054 MB / 385.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/0.397, allocations: 68.34 kB / 385.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004004/0.401, allocations: 1.781 MB / 387.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.4012, allocations: 49.7 kB / 387.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.4024, allocations: 1.267 MB / 388.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/0.4029, allocations: 429.9 kB / 389.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.403, allocations: 32 kB / 389.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003156/0.4033, allocations: 369.9 kB / 389.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.4048, allocations: 0.773 MB / 390.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.4066, allocations: 1.285 MB / 391.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.4083, allocations: 0.9862 MB / 392.7 MB, free: 220 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/0.4083, allocations: 7.984 kB / 392.7 MB, free: 212 kB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004697/0.413, allocations: 2.463 MB / 395.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.4131, allocations: 12 kB / 395.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.61e-05/0.4131, allocations: 27.92 kB / 395.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006486/0.4137, allocations: 239.2 kB / 395.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.4152, allocations: 419.3 kB / 395.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/0.4184, allocations: 2.998 MB / 398.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.42, allocations: 131.8 kB / 399 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.4202, allocations: 71.98 kB / 399 MB, free: 9.559 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001768/0.422, allocations: 0.8211 MB / 399.9 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000579/0.4226, allocations: 189.6 kB / 400 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/0.4263, allocations: 2.023 MB / 402.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.4264, allocations: 12 kB / 402.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4264, allocations: 8 kB / 402.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.4264, allocations: 3.984 kB / 402.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008671/0.4351, allocations: 4.744 MB / 406.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.4351, allocations: 11.98 kB / 406.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.4362, allocations: 263.6 kB / 407.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005307/0.4367, allocations: 207.2 kB / 407.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.998e-05/0.4368, allocations: 24 kB / 407.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002568/0.4394, allocations: 2.978 MB / 410.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4394, allocations: 0 / 410.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004668/0.4441, allocations: 3.125 MB / 413.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.4451, allocations: 430.6 kB / 413.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004003/0.4455, allocations: 27.98 kB / 413.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.4466, allocations: 99.88 kB / 414 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.4467, allocations: 80.83 kB / 414.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-05/0.4468, allocations: 35.98 kB / 414.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002084/0.4489, allocations: 1.208 MB / 415.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4489, allocations: 4 kB / 415.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001785/0.4507, allocations: 488 kB / 415.8 MB, free: 8.328 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003257/0.4511, allocations: 155 kB / 415.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003582/0.4546, allocations: 2.335 MB / 418.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4547, allocations: 0 / 418.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001846/0.4565, allocations: 1.331 MB / 419.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/0.459, allocations: 474.3 kB / 420.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008987/0.468, allocations: 5.797 MB / 425.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.4701, allocations: 2.018 MB / 427.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001592/0.4717, allocations: 0.4921 MB / 428.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004933/0.4722, allocations: 139.4 kB / 428.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4722, allocations: 0 / 428.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of Templates: time 0.04404/0.5163, allocations: 23.79 MB / 452.3 MB, free: 3.52 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1)