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.001215/0.001215, allocations: 110.5 kB / 17.93 MB, free: 5.566 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.001265/0.001264, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.537/1.537, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001308/0.001308, allocations: 47.92 kB / 280.8 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.09077, allocations: 46.63 MB / 327.5 MB, free: 4.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.03677/0.1276, allocations: 36.68 MB / 364.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02172/0.1493, allocations: 9.869 MB / 374 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008097/0.1575, allocations: 231.1 kB / 374.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.192/0.3495, allocations: 8.532 MB / 382.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01309/0.3626, allocations: 3.571 MB / 386.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007223/0.3699, allocations: 2.237 MB / 388.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01971/0.3896, allocations: 14.3 MB / 402.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04255/0.4322, allocations: 28.96 MB / 431.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0137/0.446, allocations: 7.219 MB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01357/0.4596, allocations: 8.06 MB / 447.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006002/0.4656, allocations: 2.035 MB / 449.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009177/0.4748, allocations: 2.427 MB / 451.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006618/0.4815, allocations: 4.098 MB / 455.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01574/0.4973, allocations: 7.892 MB / 463.6 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02568/0.523, allocations: 23.48 MB / 487 MB, free: 15.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.523, allocations: 4 kB / 487.1 MB, free: 15.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.523, allocations: 0 / 487.1 MB, free: 15.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007914/0.5238, allocations: 0 / 487.1 MB, free: 15.25 MB / 398.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.04925/0.5731, allocations: 16.08 MB / 0.4913 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5731, allocations: 8.031 kB / 0.4913 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04164/0.6148, allocations: 7.361 MB / 0.4985 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01928/0.6341, allocations: 7.698 MB / 0.5061 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001307/0.6355, allocations: 0.9131 MB / 0.5069 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005729/0.6412, allocations: 1.216 MB / 0.5081 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0522/0.6934, allocations: 19.25 MB / 0.5269 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006222/0.6941, allocations: 23.75 kB / 0.5269 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004347/0.6985, allocations: 0.4976 MB / 0.5274 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000851/0.6993, allocations: 0.6815 MB / 0.5281 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.356/1.055, allocations: 17.69 MB / 0.5454 GB, free: 136.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09626/1.152, allocations: 63.88 MB / 0.6078 GB, free: 92.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02519/1.177, allocations: 38.71 MB / 0.6456 GB, free: 49.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005655/1.183, allocations: 4.236 MB / 0.6497 GB, free: 45.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01814/1.201, allocations: 12.36 MB / 0.6618 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/1.201, allocations: 77.8 kB / 0.6618 GB, free: 33.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=408): time 6.051e-06/1.201, allocations: 0 / 0.6618 GB, free: 33.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=418): time 0.03703/1.238, allocations: 20.26 MB / 0.6816 GB, free: 12.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/1.238, allocations: 124.3 kB / 0.6817 GB, free: 12.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008224/1.246, allocations: 5.316 MB / 0.6869 GB, free: 7.242 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009506/1.247, allocations: 89.7 kB / 0.687 GB, free: 7.148 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002599/1.25, allocations: 5.49 MB / 0.6924 GB, free: 1.633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001505/1.251, allocations: 1.447 MB / 0.6938 GB, free: 200 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002306/1.254, allocations: 1.308 MB / 0.6951 GB, free: 14.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/1.254, allocations: 313.1 kB / 0.6954 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004832/1.259, allocations: 2.941 MB / 0.6982 GB, free: 11.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007278/1.266, allocations: 5.679 MB / 0.7038 GB, free: 4.676 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.211/1.477, allocations: 9.188 MB / 0.7128 GB, free: 139.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/1.477, allocations: 25.75 kB / 0.7128 GB, free: 139.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02001/1.497, allocations: 10.07 MB / 0.7226 GB, free: 135.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.602e-05/1.497, allocations: 49.5 kB / 0.7227 GB, free: 135.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/1.497, allocations: 92.56 kB / 0.7227 GB, free: 135.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/1.5, allocations: 1.133 MB / 0.7238 GB, free: 135.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005481/1.506, allocations: 1.528 MB / 0.7253 GB, free: 135.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01397/1.52, allocations: 13.5 MB / 0.7385 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005714/1.526, allocations: 366.4 kB / 0.7389 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.527, allocations: 346.6 kB / 0.7392 GB, free: 125.6 MB / 462.1 MB 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 (806): * Single equations (assignments): 797 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,53.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007677/1.534, allocations: 4.296 MB / 0.7434 GB, free: 123.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00176/1.536, allocations: 0.5378 MB / 0.7439 GB, free: 123.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/1.548, allocations: 7.199 MB / 0.751 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005883/1.554, allocations: 4.303 MB / 0.7552 GB, free: 118.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.846e-05/1.554, allocations: 23.06 kB / 0.7552 GB, free: 118.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.437e-05/1.554, allocations: 18.38 kB / 0.7552 GB, free: 118.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02799/1.582, allocations: 17.16 MB / 0.772 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.582, allocations: 8 kB / 0.772 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/1.585, allocations: 0.6811 MB / 0.7726 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002984/1.588, allocations: 1.204 MB / 0.7738 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004179/1.588, allocations: 99.97 kB / 0.7739 GB, free: 106 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/1.603, allocations: 17.38 MB / 0.7909 GB, free: 88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/1.603, allocations: 11.94 kB / 0.7909 GB, free: 87.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/1.617, allocations: 10.42 MB / 0.8011 GB, free: 77.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002715/1.62, allocations: 1.129 MB / 0.8022 GB, free: 76.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/1.621, allocations: 87.94 kB / 0.8022 GB, free: 76.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/1.624, allocations: 215.8 kB / 0.8025 GB, free: 76.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006551/1.624, allocations: 311.3 kB / 0.8028 GB, free: 75.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002547/1.625, allocations: 125 kB / 0.8029 GB, free: 75.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005081/1.63, allocations: 3.544 MB / 0.8063 GB, free: 72.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.63, allocations: 0 / 0.8063 GB, free: 72.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007475/1.637, allocations: 1.992 MB / 0.8083 GB, free: 70.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smpmQS.inertiaRotor.w,smpmQS.rotorCage.port_p.reference.gamma,loadInertiaMQS.phi,smpm.inertiaRotor.w,smpm.stator.zeroInductor.i0,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi) * 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 (356): * Single equations (assignments): 346 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (10,46,52.0%), (1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009398/1.638, allocations: 284.5 kB / 0.8085 GB, free: 70.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0215/1.66, allocations: 11.18 MB / 0.8195 GB, free: 58.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.66, allocations: 3.938 kB / 0.8195 GB, free: 58.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007345/1.667, allocations: 4.142 MB / 0.8235 GB, free: 54.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008652/1.676, allocations: 1.45 MB / 0.8249 GB, free: 53.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03802/1.714, allocations: 25.75 MB / 0.8501 GB, free: 27.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007505/1.721, allocations: 7.216 MB / 0.8571 GB, free: 20.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/1.723, allocations: 467.3 kB / 0.8576 GB, free: 19.65 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/1.723, allocations: 4 kB / 0.8576 GB, free: 19.64 MB / 462.1 MB Notification: Performance of Templates: time 1.054/2.777, allocations: 0.4991 GB / 1.357 GB, free: 60.2 MB / 494.1 MB 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) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_Mains/SMPM_Mains.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches