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.001023/0.001023, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001139/0.001139, allocations: 172.7 kB / 15.95 MB, free: 208 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.559/1.559, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.0005281/0.0005284, allocations: 12 kB / 278.9 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3165, allocations: 47.59 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.01237/0.3289, allocations: 10.24 MB / 336.7 MB, free: 9.203 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009238/0.3382, allocations: 3.718 MB / 340.4 MB, free: 5.473 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003423/0.3417, allocations: 55.69 kB / 340.5 MB, free: 5.418 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003781/0.3455, allocations: 0.6872 MB / 341.2 MB, free: 4.727 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005712/0.3513, allocations: 0.8002 MB / 342 MB, free: 3.922 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.3538, allocations: 335.5 kB / 342.3 MB, free: 3.594 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007273/0.361, allocations: 3.282 MB / 345.6 MB, free: 304 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00463/0.3657, allocations: 2.053 MB / 347.7 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.369, allocations: 1.12 MB / 348.8 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.3721, allocations: 1.568 MB / 350.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009205/0.373, allocations: 168 kB / 350.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.3747, allocations: 259.8 kB / 350.8 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001476/0.3762, allocations: 0.8956 MB / 351.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.3777, allocations: 0.625 MB / 352.3 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005843/0.3836, allocations: 4.429 MB / 356.7 MB, free: 5.129 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.3836, allocations: 0 / 356.7 MB, free: 5.129 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3836, allocations: 3.938 kB / 356.7 MB, free: 5.125 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001722/0.3838, allocations: 0 / 356.7 MB, free: 5.125 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: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.007347/0.3912, allocations: 3.229 MB / 359.9 MB, free: 1.828 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.3912, allocations: 15.97 kB / 360 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.3925, allocations: 395.6 kB / 360.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.3961, allocations: 1.865 MB / 362.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.3964, allocations: 225.6 kB / 362.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004204/0.3968, allocations: 279.9 kB / 362.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006671/0.4035, allocations: 3.685 MB / 366.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-05/0.4036, allocations: 7.938 kB / 366.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/0.4038, allocations: 112 kB / 366.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000152/0.404, allocations: 145.4 kB / 366.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005973/0.41, allocations: 3.09 MB / 369.7 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02296/0.433, allocations: 11.68 MB / 381.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.4357, allocations: 1.905 MB / 383.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.4376, allocations: 1.088 MB / 384.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003685/0.438, allocations: 207.1 kB / 384.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.438, allocations: 47.55 kB / 384.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=125): time 3.486e-06/0.438, allocations: 4 kB / 384.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.01437/0.4524, allocations: 6.547 MB / 391.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.4525, allocations: 68.66 kB / 391.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004674/0.4572, allocations: 1.975 MB / 393.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002531/0.4575, allocations: 53.69 kB / 393.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.4588, allocations: 1.409 MB / 394.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000683/0.4595, allocations: 492.9 kB / 395.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.4597, allocations: 36 kB / 395.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003104/0.46, allocations: 373.9 kB / 395.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.4616, allocations: 0.8081 MB / 396.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.4635, allocations: 1.375 MB / 397.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.4653, allocations: 1.045 MB / 398.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.4653, allocations: 4 kB / 398.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.004973/0.4703, allocations: 2.838 MB / 401.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.4703, allocations: 16.39 kB / 401.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/0.4704, allocations: 24 kB / 401.7 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009427/0.4713, allocations: 387.1 kB / 402.1 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.4728, allocations: 439.3 kB / 402.5 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005893/0.4788, allocations: 6.147 MB / 408.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.4805, allocations: 131.8 kB / 408.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.4806, allocations: 75.98 kB / 408.9 MB, free: 15.33 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 (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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001863/0.4825, allocations: 0.9109 MB / 409.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/0.4829, allocations: 205.4 kB / 410 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/0.4871, allocations: 2.425 MB / 412.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.4871, allocations: 12 kB / 412.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.4871, allocations: 8.094 kB / 412.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.4872, allocations: 7.922 kB / 412.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008976/0.4961, allocations: 5.531 MB / 418 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/0.4962, allocations: 4 kB / 418 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.4973, allocations: 259.6 kB / 418.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.4983, allocations: 407.6 kB / 418.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.4984, allocations: 39.98 kB / 418.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006949/0.5054, allocations: 7.56 MB / 426.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.5054, allocations: 7.938 kB / 426.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006335/0.5118, allocations: 3.602 MB / 429.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/0.5134, allocations: 478.3 kB / 430.3 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000704/0.5141, allocations: 35.98 kB / 430.3 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.5155, allocations: 91.89 kB / 430.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/0.5158, allocations: 105.1 kB / 430.5 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.5159, allocations: 43.98 kB / 430.6 MB, free: 8.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003579/0.5195, allocations: 1.346 MB / 431.9 MB, free: 7.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5195, allocations: 4 kB / 431.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003803/0.5233, allocations: 0.5351 MB / 432.4 MB, free: 6.844 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 9,(1,100.0%) 1,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005133/0.5239, allocations: 171 kB / 432.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004472/0.5284, allocations: 2.48 MB / 435.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.5284, allocations: 4 kB / 435.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0021/0.5305, allocations: 1.492 MB / 436.6 MB, free: 2.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/0.5338, allocations: 0.5185 MB / 437.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.5442, allocations: 6.756 MB / 443.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/0.5463, allocations: 2.201 MB / 446.1 MB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001821/0.5481, allocations: 0.4978 MB / 446.6 MB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.5486, allocations: 151.4 kB / 446.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.5486, allocations: 0 / 446.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of Templates: time 0.2347/0.7833, allocations: 27.27 MB / 474 MB, free: 100.4 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)