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.001669/0.00167, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00208/0.002081, allocations: 198.2 kB / 16.14 MB, free: 6.707 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.559/1.559, allocations: 205.1 MB / 222 MB, free: 4.957 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.001244/0.001244, allocations: 55.91 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3437, allocations: 46.62 MB / 324.7 MB, free: 2.047 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.01844/0.3623, allocations: 11.5 MB / 336.2 MB, free: 8.805 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3735, allocations: 3.915 MB / 340.1 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004078/0.3776, allocations: 59.69 kB / 340.2 MB, free: 4.816 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003376/0.3811, allocations: 0.7573 MB / 340.9 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004661/0.3858, allocations: 0.8549 MB / 341.8 MB, free: 3.195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.3874, allocations: 475.5 kB / 342.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00558/0.393, allocations: 3.601 MB / 345.8 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003293/0.3963, allocations: 2.529 MB / 348.4 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.3987, allocations: 1.331 MB / 349.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/0.4015, allocations: 1.895 MB / 351.6 MB, free: 9.293 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005408/0.4021, allocations: 256 kB / 351.8 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009986/0.4031, allocations: 383.8 kB / 352.2 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.4041, allocations: 1.04 MB / 353.3 MB, free: 7.625 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.4062, allocations: 1.71 MB / 355 MB, free: 5.906 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00642/0.4127, allocations: 5.308 MB / 360.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.4127, allocations: 0 / 360.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4127, allocations: 0 / 360.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001727/0.4129, allocations: 0 / 360.3 MB, free: 0.582 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.009858/0.4227, allocations: 3.813 MB / 364.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.4228, allocations: 12.03 kB / 364.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.4239, allocations: 392.6 kB / 364.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/0.428, allocations: 1.927 MB / 366.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.4283, allocations: 226 kB / 366.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004422/0.4287, allocations: 279.9 kB / 366.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007141/0.4359, allocations: 3.701 MB / 370.6 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.387e-05/0.436, allocations: 3.906 kB / 370.6 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/0.4362, allocations: 120 kB / 370.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.4364, allocations: 141.4 kB / 370.9 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005248/0.4416, allocations: 3.109 MB / 374 MB, free: 2.664 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02082/0.4625, allocations: 11.63 MB / 385.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.4651, allocations: 1.901 MB / 387.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001728/0.4669, allocations: 1.092 MB / 388.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003462/0.4672, allocations: 207.2 kB / 388.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.4673, allocations: 52.05 kB / 388.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=125): time 4.448e-06/0.4673, allocations: 7.875 kB / 388.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.01421/0.4815, allocations: 6.508 MB / 395.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.4816, allocations: 68.72 kB / 395.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004804/0.4865, allocations: 1.994 MB / 397.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.4866, allocations: 53.7 kB / 397.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/0.4881, allocations: 1.405 MB / 398.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005839/0.4887, allocations: 496.9 kB / 399.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007126/0.4895, allocations: 319.3 kB / 399.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4896, allocations: 309.1 kB / 400 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.4911, allocations: 0.8199 MB / 400.8 MB, free: 7.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.493, allocations: 1.379 MB / 402.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003682/0.4967, allocations: 2.361 MB / 404.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-05/0.4967, allocations: 4 kB / 404.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.006101/0.5028, allocations: 2.858 MB / 407.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.5029, allocations: 12 kB / 407.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.767e-05/0.503, allocations: 20 kB / 407.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.5041, allocations: 395.3 kB / 407.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.5057, allocations: 435.3 kB / 408.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006478/0.5121, allocations: 6.135 MB / 414.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.5144, allocations: 135.8 kB / 414.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/0.5147, allocations: 72 kB / 414.6 MB, free: 8.375 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.002294/0.517, allocations: 0.9115 MB / 415.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008687/0.5179, allocations: 205.4 kB / 415.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004778/0.5226, allocations: 2.425 MB / 418.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.5227, allocations: 12.2 kB / 418.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.5227, allocations: 11.88 kB / 418.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.5227, allocations: 7.969 kB / 418.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.5338, allocations: 5.524 MB / 423.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.5339, allocations: 4 kB / 423.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.535, allocations: 259.6 kB / 423.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.5361, allocations: 407.5 kB / 424.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.5362, allocations: 39.92 kB / 424.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007603/0.5438, allocations: 7.572 MB / 431.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5439, allocations: 8 kB / 432 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006388/0.5503, allocations: 3.617 MB / 435.6 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/0.5519, allocations: 462.4 kB / 436 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000794/0.5527, allocations: 35.94 kB / 436.1 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.5542, allocations: 91.89 kB / 436.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.5545, allocations: 109 kB / 436.3 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.5546, allocations: 43.98 kB / 436.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003348/0.558, allocations: 1.361 MB / 437.7 MB, free: 408 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.558, allocations: 0 / 437.7 MB, free: 408 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.003111/0.5611, allocations: 0.5313 MB / 438.2 MB, free: 15.86 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.0009192/0.562, allocations: 206.8 kB / 438.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00738/0.5694, allocations: 2.488 MB / 440.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/0.5695, allocations: 5 kB / 440.9 MB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00346/0.573, allocations: 1.479 MB / 442.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006131/0.5791, allocations: 0.5026 MB / 442.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02101/0.6002, allocations: 7.003 MB / 449.9 MB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004815/0.6051, allocations: 2.197 MB / 452.1 MB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003911/0.609, allocations: 0.4978 MB / 452.6 MB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/0.6104, allocations: 151.4 kB / 452.7 MB, free: 1.105 MB / 382.1 MB Notification: Performance of SimCode: time 3.277e-06/0.6104, allocations: 0 / 452.7 MB, free: 1.105 MB / 382.1 MB Notification: Performance of Templates: time 0.314/0.9244, allocations: 28.45 MB / 481.2 MB, free: 92.06 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)