Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001693/0.001693, allocations: 197 kB / 16.26 MB, free: 6.621 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.582/1.582, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001653/0.001654, allocations: 47.94 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4584, allocations: 46.63 MB / 324.9 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.02131/0.4798, allocations: 11.49 MB / 336.4 MB, free: 8.555 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01579/0.4957, allocations: 3.891 MB / 340.2 MB, free: 4.648 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006518/0.5025, allocations: 63.62 kB / 340.3 MB, free: 4.586 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005492/0.508, allocations: 0.7652 MB / 341.1 MB, free: 3.816 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008708/0.5168, allocations: 0.8471 MB / 341.9 MB, free: 2.965 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003771/0.5206, allocations: 475.5 kB / 342.4 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.009906/0.5306, allocations: 3.286 MB / 345.7 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009316/0.54, allocations: 2.981 MB / 348.7 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005645/0.5457, allocations: 1.53 MB / 350.2 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006712/0.5525, allocations: 2.016 MB / 352.2 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003071/0.5556, allocations: 420 kB / 352.6 MB, free: 8.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004223/0.5599, allocations: 0.5233 MB / 353.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003898/0.5638, allocations: 1.216 MB / 354.3 MB, free: 6.449 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007402/0.5713, allocations: 1.89 MB / 356.2 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.5828, allocations: 5.436 MB / 361.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.5829, allocations: 4 kB / 361.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5829, allocations: 0 / 361.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002931/0.5832, allocations: 0 / 361.7 MB, free: 15.09 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.01525/0.5984, allocations: 3.813 MB / 365.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.407e-05/0.5986, allocations: 19.89 kB / 365.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.6003, allocations: 384.6 kB / 365.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004663/0.6049, allocations: 1.939 MB / 367.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/0.6053, allocations: 214 kB / 368 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005152/0.6058, allocations: 284 kB / 368.3 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008485/0.6143, allocations: 3.701 MB / 372 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.238e-05/0.6144, allocations: 3.906 kB / 372 MB, free: 4.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/0.6147, allocations: 112 kB / 372.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/0.6149, allocations: 149.5 kB / 372.3 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006924/0.6219, allocations: 3.102 MB / 375.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03553/0.6574, allocations: 11.64 MB / 387 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004182/0.6617, allocations: 1.913 MB / 388.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002425/0.6642, allocations: 1.084 MB / 390 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000528/0.6648, allocations: 211.2 kB / 390.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.591e-05/0.6649, allocations: 55.97 kB / 390.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=125): time 5.971e-06/0.6649, allocations: 0 / 390.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.02159/0.6865, allocations: 6.507 MB / 396.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.6867, allocations: 64.72 kB / 396.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006736/0.6935, allocations: 1.998 MB / 398.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003907/0.6939, allocations: 45.7 kB / 398.9 MB, free: 8.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002086/0.696, allocations: 1.408 MB / 400.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001189/0.6972, allocations: 488.9 kB / 400.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.6984, allocations: 327.3 kB / 401.1 MB, free: 6.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003485/0.6988, allocations: 305.1 kB / 401.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.7012, allocations: 0.8198 MB / 402.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/0.7042, allocations: 1.383 MB / 403.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004516/0.7087, allocations: 2.361 MB / 406 MB, free: 1.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-05/0.7088, allocations: 8 kB / 406 MB, free: 1.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.006383/0.7152, allocations: 2.862 MB / 408.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.7153, allocations: 12 kB / 408.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.306e-05/0.7153, allocations: 16 kB / 408.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.7166, allocations: 391.4 kB / 409.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.7183, allocations: 435.2 kB / 409.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00966/0.728, allocations: 6.701 MB / 416.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.7309, allocations: 123.7 kB / 416.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/0.7312, allocations: 83.98 kB / 416.6 MB, free: 6.297 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (210): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(2,9,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002711/0.7339, allocations: 0.9042 MB / 417.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008659/0.7348, allocations: 213.4 kB / 417.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/0.7402, allocations: 2.417 MB / 420.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.7402, allocations: 19.94 kB / 420.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.7402, allocations: 7.984 kB / 420.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.7403, allocations: 3.984 kB / 420.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.7539, allocations: 5.52 MB / 425.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/0.7541, allocations: 11.88 kB / 425.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.7553, allocations: 255.6 kB / 425.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.7566, allocations: 411.2 kB / 426.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.7567, allocations: 39.98 kB / 426.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/0.7678, allocations: 8.252 MB / 434.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.7679, allocations: 4.062 kB / 434.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007947/0.7759, allocations: 3.625 MB / 438.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/0.778, allocations: 462.4 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/0.7792, allocations: 36.12 kB / 438.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.7806, allocations: 87.89 kB / 438.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/0.7809, allocations: 113 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.781, allocations: 43.98 kB / 438.9 MB, free: 15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003006/0.784, allocations: 1.361 MB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.91e-07/0.7841, allocations: 192 / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003361/0.7874, allocations: 0.5353 MB / 440.8 MB, free: 13.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * 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 (129): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,9,100.0%), (1,1,100.0%), (1,6,100.0%), (2,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.0006837/0.7881, allocations: 201.6 kB / 441 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008313/0.7965, allocations: 3.202 MB / 444.2 MB, free: 9.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.955e-05/0.7965, allocations: 5 kB / 444.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002996/0.7995, allocations: 1.487 MB / 445.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005745/0.8053, allocations: 0.5298 MB / 446.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/0.8261, allocations: 6.981 MB / 453.2 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3028/1.129, allocations: 2.198 MB / 455.4 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003195/1.132, allocations: 0.4982 MB / 455.9 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006683/1.133, allocations: 150.2 kB / 456.1 MB, free: 110.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.044e-06/1.133, allocations: 0 / 456.1 MB, free: 110.2 MB / 382.1 MB Notification: Performance of Templates: time 0.06285/1.196, allocations: 29.56 MB / 485.7 MB, free: 88.82 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1)