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.001791/0.001791, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002195/0.002194, allocations: 194 kB / 16.53 MB, free: 6.391 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.822/1.822, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001418/0.001418, allocations: 47.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3502, allocations: 46.63 MB / 325.3 MB, free: 1.895 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.01559/0.3658, allocations: 11.6 MB / 336.9 MB, free: 8.324 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.3769, allocations: 3.95 MB / 340.9 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003885/0.3808, allocations: 67.69 kB / 340.9 MB, free: 4.293 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00404/0.3849, allocations: 0.8653 MB / 341.8 MB, free: 3.422 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006701/0.3916, allocations: 0.9473 MB / 342.8 MB, free: 2.469 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.3943, allocations: 0.5188 MB / 343.3 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006969/0.4013, allocations: 3.29 MB / 346.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006359/0.4077, allocations: 2.977 MB / 349.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003917/0.4117, allocations: 1.522 MB / 351.1 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00431/0.416, allocations: 1.977 MB / 353 MB, free: 8.098 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001846/0.4179, allocations: 427.9 kB / 353.5 MB, free: 7.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.4204, allocations: 0.5193 MB / 354 MB, free: 7.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002357/0.4227, allocations: 1.216 MB / 355.2 MB, free: 5.941 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004759/0.4275, allocations: 1.886 MB / 357.1 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007583/0.4351, allocations: 5.437 MB / 362.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/0.4352, allocations: 4 kB / 362.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4352, allocations: 0 / 362.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001918/0.4354, allocations: 0 / 362.5 MB, free: 14.59 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.01118/0.4466, allocations: 3.809 MB / 366.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.4467, allocations: 15.89 kB / 366.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.4479, allocations: 388.6 kB / 366.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/0.4517, allocations: 1.931 MB / 368.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.4519, allocations: 221.9 kB / 368.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000424/0.4523, allocations: 288 kB / 369.2 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007048/0.4594, allocations: 3.693 MB / 372.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.5e-05/0.4595, allocations: 7.906 kB / 372.9 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002568/0.4598, allocations: 120 kB / 373 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/0.46, allocations: 141.5 kB / 373.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006035/0.466, allocations: 3.106 MB / 376.2 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02328/0.4893, allocations: 11.63 MB / 387.8 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/0.4922, allocations: 1.905 MB / 389.8 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.4943, allocations: 1.092 MB / 390.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/0.4948, allocations: 211.2 kB / 391.1 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.675e-05/0.4949, allocations: 55.44 kB / 391.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=125): time 4.058e-06/0.4949, allocations: 4 kB / 391.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.01475/0.5096, allocations: 6.516 MB / 397.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.5097, allocations: 68.72 kB / 397.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004496/0.5143, allocations: 1.99 MB / 399.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.5144, allocations: 45.7 kB / 399.7 MB, free: 8.461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.5157, allocations: 1.412 MB / 401.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005909/0.5163, allocations: 492.9 kB / 401.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009568/0.5173, allocations: 323.3 kB / 401.9 MB, free: 6.223 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5175, allocations: 305.1 kB / 402.2 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.5193, allocations: 0.8198 MB / 403.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.5215, allocations: 1.375 MB / 404.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003847/0.5253, allocations: 2.361 MB / 406.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.263e-05/0.5254, allocations: 12 kB / 406.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.005885/0.5313, allocations: 2.858 MB / 409.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.5314, allocations: 12 kB / 409.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.283e-05/0.5314, allocations: 16 kB / 409.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.5325, allocations: 399.4 kB / 410.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.534, allocations: 431.3 kB / 410.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007142/0.5412, allocations: 6.697 MB / 417.2 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/0.5437, allocations: 127.7 kB / 417.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004157/0.5442, allocations: 84.06 kB / 417.4 MB, free: 5.793 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.002857/0.547, allocations: 0.9119 MB / 418.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/0.5481, allocations: 209.4 kB / 418.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005134/0.5532, allocations: 2.421 MB / 420.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.5533, allocations: 19.94 kB / 421 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/0.5533, allocations: 4 kB / 421 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.5533, allocations: 7.969 kB / 421 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.5659, allocations: 5.512 MB / 426.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.566, allocations: 7.938 kB / 426.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.5672, allocations: 259.7 kB / 426.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.5684, allocations: 423.2 kB / 427.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/0.5686, allocations: 39.98 kB / 427.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009036/0.5776, allocations: 8.245 MB / 435.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.5777, allocations: 8 kB / 435.4 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007003/0.5847, allocations: 3.613 MB / 439.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/0.5864, allocations: 462.4 kB / 439.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008963/0.5874, allocations: 35.98 kB / 439.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.589, allocations: 87.89 kB / 439.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.5893, allocations: 109 kB / 439.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.5895, allocations: 43.98 kB / 439.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003404/0.5929, allocations: 1.357 MB / 441.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.5929, allocations: 4 kB / 441.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003577/0.5965, allocations: 0.5354 MB / 441.7 MB, free: 12.59 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.0007238/0.5972, allocations: 210.8 kB / 441.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007528/0.6048, allocations: 3.203 MB / 445.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.079e-05/0.6049, allocations: 448 / 445.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003002/0.6079, allocations: 1.487 MB / 446.6 MB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004723/0.6126, allocations: 0.5405 MB / 447.1 MB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/0.6283, allocations: 5.735 MB / 452.9 MB, free: 1.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.276/0.9044, allocations: 2.195 MB / 455 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002889/0.9074, allocations: 0.4966 MB / 455.5 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006038/0.908, allocations: 153.8 kB / 455.7 MB, free: 110.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.908, allocations: 2.844 kB / 455.7 MB, free: 110.2 MB / 382.1 MB Notification: Performance of Templates: time 0.07054/0.9786, allocations: 29.54 MB / 485.2 MB, free: 88.93 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)