Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.00169/0.001689, allocations: 108.5 kB / 18.4 MB, free: 4.645 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.001946/0.001947, allocations: 190 kB / 19.34 MB, free: 3.723 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.38/1.38, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.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.001143/0.001143, allocations: 52.3 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0735/0.07465, allocations: 46.63 MB / 375.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.183/0.2576, allocations: 37.34 MB / 413.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02116/0.2788, allocations: 10.02 MB / 423.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008504/0.2874, allocations: 237.6 kB / 423.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02074/0.3082, allocations: 9.191 MB / 432.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0127/0.3209, allocations: 4.043 MB / 436.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006604/0.3275, allocations: 2.43 MB / 439.1 MB, free: 324 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01629/0.3438, allocations: 14.23 MB / 453.4 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03553/0.3793, allocations: 25.6 MB / 479 MB, free: 8.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009093/0.3885, allocations: 7.277 MB / 486.2 MB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0102/0.3987, allocations: 8.004 MB / 494.2 MB, free: 8.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002809/0.4015, allocations: 2.035 MB / 496.3 MB, free: 6.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00471/0.4062, allocations: 2.441 MB / 498.7 MB, free: 4.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003849/0.4101, allocations: 4.087 MB / 0.491 GB, free: 376 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01068/0.4208, allocations: 7.898 MB / 0.4987 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02409/0.4449, allocations: 26.98 MB / 0.5251 GB, free: 13.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4449, allocations: 0 / 0.5251 GB, free: 13.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4449, allocations: 0 / 0.5251 GB, free: 13.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004952/0.4454, allocations: 0 / 0.5251 GB, free: 13.38 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: 3387 * Number of variables: 3387 Notification: Performance of Generate backend data structure: time 0.04338/0.4888, allocations: 16.02 MB / 0.5407 GB, free: 13.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4889, allocations: 12.03 kB / 0.5407 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04302/0.5319, allocations: 7.398 MB / 0.548 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3184/0.8503, allocations: 7.759 MB / 0.5555 GB, free: 132.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000784/0.8512, allocations: 0.9126 MB / 0.5564 GB, free: 132.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003157/0.8543, allocations: 1.211 MB / 0.5576 GB, free: 132.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0337/0.888, allocations: 19.22 MB / 0.5764 GB, free: 125.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002571/0.8883, allocations: 20.22 kB / 0.5764 GB, free: 125.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001229/0.8895, allocations: 0.5016 MB / 0.5769 GB, free: 124.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005179/0.8901, allocations: 0.6767 MB / 0.5775 GB, free: 124.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02728/0.9174, allocations: 17.69 MB / 0.5948 GB, free: 115.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07272/0.9901, allocations: 63.12 MB / 0.6565 GB, free: 51.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02467/1.015, allocations: 38.67 MB / 0.6942 GB, free: 8.336 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005239/1.02, allocations: 4.172 MB / 0.6983 GB, free: 4.164 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01787/1.038, allocations: 12.2 MB / 0.7102 GB, free: 7.965 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/1.038, allocations: 77.72 kB / 0.7103 GB, free: 7.879 MB / 494.1 MB Notification: Performance of pre-optimization done (n=402): time 5.31e-06/1.038, allocations: 0 / 0.7103 GB, free: 7.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=412): time 0.04183/1.08, allocations: 20.05 MB / 0.7299 GB, free: 3.48 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/1.08, allocations: 120.4 kB / 0.73 GB, free: 3.344 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008522/1.089, allocations: 5.304 MB / 0.7352 GB, free: 14.05 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.000545/1.089, allocations: 89.7 kB / 0.7352 GB, free: 13.96 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003391/1.092, allocations: 5.493 MB / 0.7406 GB, free: 8.434 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/1.094, allocations: 1.438 MB / 0.742 GB, free: 7.008 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00246/1.096, allocations: 1.306 MB / 0.7433 GB, free: 5.691 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/1.097, allocations: 309.1 kB / 0.7436 GB, free: 5.387 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004742/1.101, allocations: 2.902 MB / 0.7464 GB, free: 2.48 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1792/1.281, allocations: 5.635 MB / 0.7519 GB, free: 160.6 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.291, allocations: 9.111 MB / 0.7608 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/1.291, allocations: 25.22 kB / 0.7608 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.01717/1.309, allocations: 9.995 MB / 0.7706 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.693e-05/1.309, allocations: 44.97 kB / 0.7706 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/1.309, allocations: 90.81 kB / 0.7707 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003145/1.312, allocations: 1.13 MB / 0.7718 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005358/1.317, allocations: 1.529 MB / 0.7733 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/1.332, allocations: 13.47 MB / 0.7865 GB, free: 142 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00473/1.337, allocations: 365.5 kB / 0.7868 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006821/1.337, allocations: 348.5 kB / 0.7872 GB, free: 141.9 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 412 * 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 (803): * Single equations (assignments): 797 * 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,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005833/1.343, allocations: 4.293 MB / 0.7914 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.344, allocations: 0.5433 MB / 0.7919 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.356, allocations: 7.101 MB / 0.7988 GB, free: 136.7 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/1.356, allocations: 26.45 kB / 0.7988 GB, free: 136.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.356, allocations: 4.703 kB / 0.7989 GB, free: 136.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/1.358, allocations: 1.115 MB / 0.7999 GB, free: 136.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009746/1.359, allocations: 75.44 kB / 0.8 GB, free: 136.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002632/1.361, allocations: 209.8 kB / 0.8002 GB, free: 136.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005517/1.362, allocations: 322.6 kB / 0.8005 GB, free: 136.1 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.011/1.373, allocations: 6.662 MB / 0.807 GB, free: 133.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009694/1.383, allocations: 8.253 MB / 0.8151 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002663/1.385, allocations: 2.487 MB / 0.8175 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005055/1.39, allocations: 3.542 MB / 0.821 GB, free: 123.9 MB / 0.5138 GB Notification: Performance of Backend: time 4.01e-07/1.39, allocations: 0 / 0.821 GB, free: 123.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.4, allocations: 6.024 MB / 0.8269 GB, free: 118.5 MB / 0.5138 GB Notification: Performance of SimCode: time 0.02779/1.428, allocations: 20.58 MB / 0.8469 GB, free: 98.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.1293/1.558, allocations: 95.01 MB / 0.9397 GB, free: 3.801 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.pipe 2>&1)