Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs|loadInertiaM.phi|loadInertiaM.w|loadInertiaMQS.phi|loadInertiaMQS.w|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs|loadInertiaM.phi|loadInertiaM.w|loadInertiaMQS.phi|loadInertiaMQS.w|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 110.3 kB / 17.74 MB, free: 5.336 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.001768/0.001768, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009844/0.0009844, allocations: 51.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2066, allocations: 49.43 MB / 401.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.03496/0.2416, allocations: 37.25 MB / 438.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01681/0.2585, allocations: 10.02 MB / 448.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004569/0.263, allocations: 271.1 kB / 449 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01921/0.2823, allocations: 9.192 MB / 458.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.2934, allocations: 4.012 MB / 462.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005971/0.2994, allocations: 2.379 MB / 464.6 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01512/0.3146, allocations: 14.1 MB / 478.7 MB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03125/0.3458, allocations: 25.61 MB / 0.4925 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008025/0.3539, allocations: 7.211 MB / 0.4995 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009407/0.3633, allocations: 7.902 MB / 0.5072 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003115/0.3664, allocations: 2.027 MB / 0.5092 GB, free: 412 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004544/0.371, allocations: 2.418 MB / 0.5116 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003203/0.3742, allocations: 4.033 MB / 0.5155 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008456/0.3827, allocations: 7.809 MB / 0.5231 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3695/0.7522, allocations: 26.94 MB / 0.5494 GB, free: 58.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.7522, allocations: 0.625 kB / 0.5494 GB, free: 58.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.7522, allocations: 0 / 0.5494 GB, free: 58.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005067/0.7527, allocations: 0.9375 kB / 0.5494 GB, free: 58.39 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3330 * Number of variables: 3330 Notification: Performance of Generate backend data structure: time 0.03659/0.7893, allocations: 15.83 MB / 0.5649 GB, free: 54.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.7894, allocations: 10.38 kB / 0.5649 GB, free: 54.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03409/0.8235, allocations: 6.407 MB / 0.5712 GB, free: 51.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/0.8392, allocations: 8.559 MB / 0.5795 GB, free: 49.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005253/0.8398, allocations: 0.9053 MB / 0.5804 GB, free: 48.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002674/0.8425, allocations: 1.187 MB / 0.5816 GB, free: 48.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02859/0.8711, allocations: 18.76 MB / 0.5999 GB, free: 31.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002209/0.8713, allocations: 23.47 kB / 0.5999 GB, free: 31.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001249/0.8726, allocations: 0.4907 MB / 0.6004 GB, free: 31.24 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004241/0.873, allocations: 0.6537 MB / 0.601 GB, free: 30.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02295/0.8959, allocations: 16.99 MB / 0.6176 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08135/0.9773, allocations: 61.88 MB / 0.678 GB, free: 15.22 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02635/1.004, allocations: 29.71 MB / 0.7071 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005812/1.01, allocations: 4.003 MB / 0.711 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01678/1.026, allocations: 10.08 MB / 0.7208 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.857e-05/1.026, allocations: 80.38 kB / 0.7209 GB, free: 15.95 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=402): time 5.66e-06/1.026, allocations: 0 / 0.7209 GB, free: 15.95 MB / 0.5607 GB Notification: Performance of matching and sorting (n=412): time 0.04024/1.067, allocations: 20.1 MB / 0.7405 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/1.067, allocations: 120.4 kB / 0.7406 GB, free: 11.45 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007442/1.074, allocations: 5.165 MB / 0.7457 GB, free: 6.297 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0006596/1.075, allocations: 89.7 kB / 0.7458 GB, free: 6.203 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003241/1.078, allocations: 5.347 MB / 0.751 GB, free: 0.8203 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.1899/1.268, allocations: 1.421 MB / 0.7524 GB, free: 223.2 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002638/1.271, allocations: 1.243 MB / 0.7536 GB, free: 223.2 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.473e-05/1.271, allocations: 302.1 kB / 0.7539 GB, free: 222.9 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003829/1.275, allocations: 2.855 MB / 0.7567 GB, free: 222.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004329/1.279, allocations: 5.349 MB / 0.7619 GB, free: 219 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008319/1.287, allocations: 8.727 MB / 0.7704 GB, free: 212.9 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.43e-05/1.287, allocations: 23.5 kB / 0.7704 GB, free: 212.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01366/1.301, allocations: 9.669 MB / 0.7799 GB, free: 209.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/1.301, allocations: 39.62 kB / 0.7799 GB, free: 209.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.433e-05/1.301, allocations: 93.02 kB / 0.78 GB, free: 209.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/1.304, allocations: 1.123 MB / 0.7811 GB, free: 208.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004778/1.309, allocations: 1.443 MB / 0.7825 GB, free: 208.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/1.322, allocations: 13.47 MB / 0.7957 GB, free: 198.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004842/1.327, allocations: 355.3 kB / 0.796 GB, free: 198.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005976/1.327, allocations: 319.5 kB / 0.7963 GB, free: 198.3 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 (764): * Single equations (assignments): 758 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005315/1.333, allocations: 4.235 MB / 0.8004 GB, free: 194.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.334, allocations: 0.527 MB / 0.801 GB, free: 194.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.344, allocations: 7.075 MB / 0.8079 GB, free: 188.4 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.632e-05/1.344, allocations: 18.94 kB / 0.8079 GB, free: 188.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.138e-06/1.344, allocations: 3.938 kB / 0.8079 GB, free: 188.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002295/1.347, allocations: 1.112 MB / 0.809 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007131/1.347, allocations: 72.12 kB / 0.809 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002357/1.35, allocations: 209.1 kB / 0.8092 GB, free: 187.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005428/1.35, allocations: 338.9 kB / 0.8096 GB, free: 187.1 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01079/1.361, allocations: 6.658 MB / 0.8161 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009585/1.371, allocations: 8.222 MB / 0.8241 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002625/1.373, allocations: 2.482 MB / 0.8265 GB, free: 171.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004156/1.378, allocations: 3.461 MB / 0.8299 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of Backend: time 3.71e-07/1.378, allocations: 0 / 0.8299 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.009534/1.387, allocations: 5.912 MB / 0.8357 GB, free: 162.6 MB / 0.5763 GB Notification: Performance of SimCode: time 0.0276/1.415, allocations: 20.31 MB / 0.8555 GB, free: 142.3 MB / 0.5763 GB Notification: Performance of Templates: time 0.1272/1.542, allocations: 94.23 MB / 0.9475 GB, free: 48.83 MB / 0.5763 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe 2>&1)