Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001515/0.001516, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001786/0.001787, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 55.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2082, allocations: 50.55 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.03632/0.2445, allocations: 37.89 MB / 447.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01873/0.2633, allocations: 10.29 MB / 458.2 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004761/0.2681, allocations: 271.1 kB / 458.4 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0191/0.2872, allocations: 9.195 MB / 467.6 MB, free: 7.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.2975, allocations: 4.016 MB / 471.6 MB, free: 3.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005938/0.3035, allocations: 2.422 MB / 474.1 MB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01647/0.3199, allocations: 14.24 MB / 488.3 MB, free: 2.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03324/0.3532, allocations: 25.62 MB / 0.5019 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008398/0.3616, allocations: 7.227 MB / 0.5089 GB, free: 1.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.3718, allocations: 8.051 MB / 0.5168 GB, free: 9.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003274/0.3751, allocations: 2.027 MB / 0.5188 GB, free: 7.812 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005131/0.3803, allocations: 2.445 MB / 0.5212 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003512/0.3838, allocations: 4.025 MB / 0.5251 GB, free: 1.336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009031/0.3928, allocations: 7.829 MB / 0.5327 GB, free: 9.473 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2016/0.5945, allocations: 26.99 MB / 0.5591 GB, free: 56.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5945, allocations: 0 / 0.5591 GB, free: 56.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5945, allocations: 3.281 kB / 0.5591 GB, free: 56.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005128/0.595, allocations: 0 / 0.5591 GB, free: 56.75 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.03732/0.6324, allocations: 15.88 MB / 0.5746 GB, free: 49.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6324, allocations: 11.62 kB / 0.5746 GB, free: 49.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03478/0.6672, allocations: 6.453 MB / 0.5809 GB, free: 47.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/0.6816, allocations: 8.591 MB / 0.5893 GB, free: 43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000429/0.6821, allocations: 0.903 MB / 0.5902 GB, free: 42.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002385/0.6845, allocations: 1.194 MB / 0.5914 GB, free: 42.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0285/0.713, allocations: 18.77 MB / 0.6097 GB, free: 24.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000247/0.7132, allocations: 11.81 kB / 0.6097 GB, free: 24.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001345/0.7146, allocations: 0.4965 MB / 0.6102 GB, free: 23.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004556/0.7151, allocations: 0.6537 MB / 0.6108 GB, free: 23.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02665/0.7417, allocations: 17 MB / 0.6274 GB, free: 6.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08988/0.8316, allocations: 63.2 MB / 0.6891 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02715/0.8588, allocations: 30.01 MB / 0.7184 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005789/0.8646, allocations: 4.03 MB / 0.7224 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01692/0.8816, allocations: 10.35 MB / 0.7325 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/0.8816, allocations: 89.44 kB / 0.7326 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=402): time 5.821e-06/0.8817, allocations: 0 / 0.7326 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=412): time 0.04172/0.9234, allocations: 20.12 MB / 0.7522 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.9235, allocations: 124.3 kB / 0.7523 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.191/1.115, allocations: 5.185 MB / 0.7574 GB, free: 216.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006322/1.115, allocations: 96 kB / 0.7575 GB, free: 216.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002172/1.117, allocations: 5.366 MB / 0.7627 GB, free: 214.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009303/1.118, allocations: 1.424 MB / 0.7641 GB, free: 213.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001574/1.12, allocations: 1.245 MB / 0.7653 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.205e-05/1.12, allocations: 304.6 kB / 0.7656 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003601/1.124, allocations: 2.847 MB / 0.7684 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004304/1.128, allocations: 5.345 MB / 0.7736 GB, free: 207.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008358/1.136, allocations: 8.735 MB / 0.7822 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.092e-05/1.136, allocations: 22.19 kB / 0.7822 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01342/1.15, allocations: 9.684 MB / 0.7916 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/1.15, allocations: 38.81 kB / 0.7917 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.654e-05/1.15, allocations: 80.38 kB / 0.7918 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002742/1.153, allocations: 1.113 MB / 0.7928 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004738/1.157, allocations: 1.456 MB / 0.7943 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/1.17, allocations: 13.47 MB / 0.8074 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00471/1.175, allocations: 364.7 kB / 0.8078 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004724/1.175, allocations: 319.6 kB / 0.8081 GB, free: 183.1 MB / 0.5762 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.00525/1.181, allocations: 4.238 MB / 0.8122 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008959/1.181, allocations: 0.5297 MB / 0.8127 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.192, allocations: 7.083 MB / 0.8196 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.661e-05/1.192, allocations: 23.34 kB / 0.8197 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.192, allocations: 128 / 0.8197 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/1.194, allocations: 1.11 MB / 0.8207 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006705/1.195, allocations: 79.89 kB / 0.8208 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/1.197, allocations: 208.6 kB / 0.821 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005266/1.197, allocations: 327 kB / 0.8213 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01061/1.208, allocations: 6.663 MB / 0.8278 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009465/1.218, allocations: 8.238 MB / 0.8359 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002596/1.22, allocations: 2.471 MB / 0.8383 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004273/1.224, allocations: 3.481 MB / 0.8417 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of Backend: time 1.252e-06/1.224, allocations: 0 / 0.8417 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009252/1.234, allocations: 5.907 MB / 0.8475 GB, free: 146 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02669/1.26, allocations: 20.32 MB / 0.8673 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.125/1.385, allocations: 94.62 MB / 0.9597 GB, free: 31.85 MB / 0.5762 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe 2>&1)