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.01171/0.01171, allocations: 101.8 kB / 15.73 MB, free: 6.059 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.002275/0.002275, allocations: 190.7 kB / 16.67 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.561/1.561, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001174/0.001174, allocations: 46.03 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1129, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01264/0.1256, allocations: 10.88 MB / 384.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007967/0.1337, allocations: 3.673 MB / 387.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.1357, allocations: 59.69 kB / 387.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.1383, allocations: 0.8189 MB / 388.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.1423, allocations: 0.8619 MB / 389.5 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1436, allocations: 463.4 kB / 389.9 MB, free: 488 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004555/0.1482, allocations: 2.954 MB / 392.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003082/0.1513, allocations: 2.683 MB / 395.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.1535, allocations: 1.37 MB / 396.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.1562, allocations: 1.748 MB / 398.7 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006429/0.1569, allocations: 376 kB / 399.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.158, allocations: 471.8 kB / 399.5 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.1591, allocations: 1.071 MB / 400.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00207/0.1611, allocations: 1.676 MB / 402.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006994/0.1681, allocations: 4.897 MB / 407.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.1682, allocations: 4 kB / 407.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1682, allocations: 0 / 407.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000184/0.1684, allocations: 0 / 407.2 MB, free: 15.13 MB / 350.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.008668/0.1771, allocations: 3.469 MB / 410.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.1772, allocations: 11.89 kB / 410.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.1782, allocations: 358.8 kB / 411 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/0.1814, allocations: 1.715 MB / 412.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.1816, allocations: 189.4 kB / 412.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/0.182, allocations: 251.9 kB / 413.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/0.1883, allocations: 3.275 MB / 416.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-05/0.1883, allocations: 11.95 kB / 416.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.1886, allocations: 99.98 kB / 416.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.1887, allocations: 124.9 kB / 416.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005034/0.1938, allocations: 2.752 MB / 419.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0169/0.2107, allocations: 10.43 MB / 429.8 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.2129, allocations: 1.346 MB / 431.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.2144, allocations: 0.7511 MB / 431.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/0.2147, allocations: 207.2 kB / 432.1 MB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.2148, allocations: 47.56 kB / 432.2 MB, free: 5.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 3.126e-06/0.2148, allocations: 0 / 432.2 MB, free: 5.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.01686/0.2317, allocations: 7.074 MB / 439.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.2318, allocations: 72.34 kB / 439.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002777/0.2346, allocations: 1.789 MB / 441.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.2347, allocations: 49.7 kB / 441.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.2358, allocations: 1.31 MB / 442.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.2361, allocations: 440.3 kB / 442.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004773/0.2366, allocations: 295.4 kB / 443.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2367, allocations: 309.1 kB / 443.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.2379, allocations: 0.7769 MB / 444.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.2396, allocations: 1.293 MB / 445.6 MB, free: 7.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/0.2426, allocations: 2.219 MB / 447.8 MB, free: 5.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.2426, allocations: 4 kB / 447.8 MB, free: 5.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004577/0.2472, allocations: 2.483 MB / 450.3 MB, free: 2.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.2472, allocations: 12.69 kB / 450.3 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/0.2473, allocations: 16 kB / 450.3 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000732/0.248, allocations: 239.2 kB / 450.5 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.2495, allocations: 419.3 kB / 450.9 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3234/0.5729, allocations: 3.236 MB / 454.2 MB, free: 67.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.5757, allocations: 129 kB / 454.3 MB, free: 67.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/0.576, allocations: 71.39 kB / 454.4 MB, free: 67.57 MB / 382.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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0026/0.5786, allocations: 0.8193 MB / 455.2 MB, free: 67.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009365/0.5795, allocations: 193 kB / 455.4 MB, free: 67.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/0.5841, allocations: 2.034 MB / 457.4 MB, free: 66.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/0.5841, allocations: 13.42 kB / 457.4 MB, free: 66.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.5841, allocations: 1.344 kB / 457.4 MB, free: 66.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/0.5842, allocations: 6.875 kB / 457.4 MB, free: 66.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.5951, allocations: 4.739 MB / 462.2 MB, free: 65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.5952, allocations: 3.375 kB / 462.2 MB, free: 65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.5964, allocations: 260.4 kB / 462.4 MB, free: 64.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005977/0.597, allocations: 207.9 kB / 462.6 MB, free: 64.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.043e-05/0.5971, allocations: 29.42 kB / 462.7 MB, free: 64.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.5998, allocations: 3.213 MB / 465.9 MB, free: 61.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.5998, allocations: 6.375 kB / 465.9 MB, free: 61.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006227/0.6061, allocations: 3.135 MB / 469 MB, free: 60.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.6076, allocations: 436.3 kB / 469.4 MB, free: 60.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.6079, allocations: 26.16 kB / 469.5 MB, free: 60.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009756/0.6088, allocations: 93.42 kB / 469.6 MB, free: 60.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.6091, allocations: 79.94 kB / 469.6 MB, free: 60.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.96e-05/0.6092, allocations: 36.5 kB / 469.7 MB, free: 60.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002381/0.6116, allocations: 1.226 MB / 470.9 MB, free: 60 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6116, allocations: 0 / 470.9 MB, free: 60 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002549/0.6141, allocations: 486 kB / 471.4 MB, free: 59.96 MB / 382.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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005793/0.6147, allocations: 197.9 kB / 471.6 MB, free: 59.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003686/0.6184, allocations: 2.347 MB / 473.9 MB, free: 58.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6185, allocations: 0 / 473.9 MB, free: 58.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.6202, allocations: 1.336 MB / 475.2 MB, free: 58.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.6225, allocations: 497.9 kB / 475.7 MB, free: 57.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008897/0.6314, allocations: 4.941 MB / 480.7 MB, free: 55.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/0.6329, allocations: 2.009 MB / 482.7 MB, free: 53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001452/0.6344, allocations: 0.5002 MB / 483.2 MB, free: 52.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.6348, allocations: 135.4 kB / 483.3 MB, free: 52.37 MB / 382.1 MB Notification: Performance of SimCode: time 1.974e-06/0.6348, allocations: 0 / 483.3 MB, free: 52.37 MB / 382.1 MB Notification: Performance of Templates: time 0.04584/0.6806, allocations: 26.19 MB / 0.4976 GB, free: 26.16 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)