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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009835/0.0009836, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008747/0.0008746, allocations: 106.2 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007764/0.0007765, allocations: 35.94 kB / 327.2 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1844, allocations: 46.63 MB / 373.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.02527/0.2097, allocations: 36.67 MB / 410.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01594/0.2256, allocations: 9.924 MB / 420.4 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006291/0.2319, allocations: 223.2 kB / 420.7 MB, free: 2.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01694/0.2489, allocations: 8.534 MB / 429.2 MB, free: 9.977 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.2601, allocations: 3.611 MB / 432.8 MB, free: 6.352 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007184/0.2673, allocations: 2.244 MB / 435.1 MB, free: 4.109 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01704/0.2843, allocations: 14.72 MB / 449.8 MB, free: 5.344 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03093/0.3153, allocations: 20.91 MB / 470.7 MB, free: 284 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00826/0.3236, allocations: 6.211 MB / 476.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009713/0.3333, allocations: 7.57 MB / 484.5 MB, free: 2.445 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00337/0.3367, allocations: 1.297 MB / 485.8 MB, free: 1.148 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005053/0.3418, allocations: 1.695 MB / 487.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003881/0.3457, allocations: 3.33 MB / 490.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009027/0.3547, allocations: 7.117 MB / 497.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2739/0.6287, allocations: 26.32 MB / 0.5119 GB, free: 43.59 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6287, allocations: 0 / 0.5119 GB, free: 43.59 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6287, allocations: 0 / 0.5119 GB, free: 43.59 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0005379/0.6293, allocations: 0 / 0.5119 GB, free: 43.59 MB / 378.8 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.039/0.6683, allocations: 16.07 MB / 0.5276 GB, free: 36.67 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.6683, allocations: 7.594 kB / 0.5276 GB, free: 36.67 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03394/0.7023, allocations: 7.358 MB / 0.5348 GB, free: 33.84 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/0.7178, allocations: 7.707 MB / 0.5424 GB, free: 29.66 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000513/0.7183, allocations: 0.9181 MB / 0.5432 GB, free: 28.75 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003395/0.7217, allocations: 1.212 MB / 0.5444 GB, free: 27.55 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02506/0.7468, allocations: 19.24 MB / 0.5632 GB, free: 8.254 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001979/0.747, allocations: 19.56 kB / 0.5632 GB, free: 8.238 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001051/0.7481, allocations: 0.4981 MB / 0.5637 GB, free: 7.75 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003925/0.7485, allocations: 0.6815 MB / 0.5644 GB, free: 7.066 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02408/0.7725, allocations: 17.69 MB / 0.5817 GB, free: 5.371 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09328/0.8658, allocations: 63.89 MB / 0.6441 GB, free: 4.973 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1777/1.044, allocations: 38.69 MB / 0.6818 GB, free: 147.6 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006476/1.05, allocations: 4.243 MB / 0.686 GB, free: 147.5 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02098/1.071, allocations: 12.34 MB / 0.698 GB, free: 142.6 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/1.071, allocations: 77.72 kB / 0.6981 GB, free: 142.5 MB / 474.8 MB Notification: Performance of pre-optimization done (n=408): time 5.099e-06/1.071, allocations: 3.938 kB / 0.6981 GB, free: 142.5 MB / 474.8 MB Notification: Performance of matching and sorting (n=418): time 0.03454/1.106, allocations: 20.26 MB / 0.7179 GB, free: 133.1 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/1.106, allocations: 121 kB / 0.718 GB, free: 133 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005803/1.112, allocations: 5.308 MB / 0.7232 GB, free: 129.3 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002421/1.112, allocations: 96.05 kB / 0.7233 GB, free: 129.2 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00192/1.114, allocations: 5.483 MB / 0.7287 GB, free: 124.3 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007542/1.115, allocations: 1.456 MB / 0.7301 GB, free: 123 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001529/1.116, allocations: 1.312 MB / 0.7314 GB, free: 121.8 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.761e-05/1.116, allocations: 305.1 kB / 0.7316 GB, free: 121.5 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/1.119, allocations: 2.939 MB / 0.7345 GB, free: 119 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003977/1.123, allocations: 5.684 MB / 0.7401 GB, free: 112.6 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007363/1.131, allocations: 9.192 MB / 0.749 GB, free: 102.8 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-05/1.131, allocations: 24 kB / 0.7491 GB, free: 102.8 MB / 474.8 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01178/1.143, allocations: 10.07 MB / 0.7589 GB, free: 92.7 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/1.143, allocations: 49.84 kB / 0.7589 GB, free: 92.65 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.774e-05/1.143, allocations: 96.06 kB / 0.759 GB, free: 92.55 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/1.145, allocations: 1.126 MB / 0.7601 GB, free: 91.42 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004106/1.149, allocations: 1.525 MB / 0.7616 GB, free: 89.89 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/1.16, allocations: 12.54 MB / 0.7739 GB, free: 76.83 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/1.164, allocations: 371.5 kB / 0.7742 GB, free: 76.46 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004379/1.165, allocations: 347.9 kB / 0.7746 GB, free: 76.12 MB / 474.8 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.005048/1.17, allocations: 4.29 MB / 0.7787 GB, free: 71.82 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008924/1.17, allocations: 0.5403 MB / 0.7793 GB, free: 71.27 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009501/1.18, allocations: 7.188 MB / 0.7863 GB, free: 63.98 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00505/1.185, allocations: 4.309 MB / 0.7905 GB, free: 59.62 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/1.185, allocations: 16 kB / 0.7905 GB, free: 59.61 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/1.185, allocations: 27.89 kB / 0.7905 GB, free: 59.58 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02088/1.206, allocations: 17.17 MB / 0.8073 GB, free: 42.29 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/1.206, allocations: 4 kB / 0.8073 GB, free: 42.29 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/1.209, allocations: 0.6826 MB / 0.808 GB, free: 41.6 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/1.211, allocations: 1.187 MB / 0.8091 GB, free: 40.4 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002391/1.211, allocations: 99.95 kB / 0.8092 GB, free: 40.3 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/1.224, allocations: 16 MB / 0.8249 GB, free: 23.51 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.224, allocations: 11.94 kB / 0.8249 GB, free: 23.5 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2218/1.446, allocations: 49.5 MB / 0.8732 GB, free: 138.9 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.448, allocations: 1.131 MB / 0.8743 GB, free: 138.4 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005466/1.449, allocations: 79.25 kB / 0.8744 GB, free: 138.4 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002163/1.451, allocations: 213.7 kB / 0.8746 GB, free: 138.3 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005935/1.451, allocations: 317.3 kB / 0.8749 GB, free: 138.3 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000231/1.452, allocations: 121.4 kB / 0.875 GB, free: 138.2 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003897/1.455, allocations: 3.553 MB / 0.8785 GB, free: 136.9 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.4e-07/1.455, allocations: 3.438 kB / 0.8785 GB, free: 136.9 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006154/1.462, allocations: 2.497 MB / 0.8809 GB, free: 136.7 MB / 474.8 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.0004585/1.462, allocations: 277 kB / 0.8812 GB, free: 136.6 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.00905/1.471, allocations: 7.899 MB / 0.8889 GB, free: 133.3 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.471, allocations: 0 / 0.8889 GB, free: 133.3 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004903/1.476, allocations: 4.138 MB / 0.8929 GB, free: 131.2 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005235/1.481, allocations: 1.357 MB / 0.8943 GB, free: 130.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/1.511, allocations: 29.97 MB / 0.9235 GB, free: 103.5 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005776/1.517, allocations: 7.578 MB / 0.9309 GB, free: 97.72 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.005382/1.522, allocations: 2.103 MB / 0.933 GB, free: 96.27 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.523, allocations: 418.5 kB / 0.9334 GB, free: 95.88 MB / 474.8 MB Notification: Performance of SimCode: time 5.11e-07/1.523, allocations: 0 / 0.9334 GB, free: 95.88 MB / 474.8 MB Notification: Performance of Templates: time 0.2727/1.796, allocations: 94.09 MB / 1.025 GB, free: 141.9 MB / 474.8 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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