Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.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.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002741/0.002747, allocations: 182.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 5.389/5.389, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001799/0.001799, allocations: 97.44 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006791/0.0006795, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5678/0.5685, allocations: 47.57 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.0489/0.6175, allocations: 18.95 MB / 393.5 MB, free: 29.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02643/0.644, allocations: 6.361 MB / 399.9 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007558/0.6517, allocations: 131.4 kB / 400 MB, free: 23.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008202/0.6599, allocations: 1.162 MB / 401.1 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0153/0.6753, allocations: 1.904 MB / 403.1 MB, free: 20.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008315/0.6837, allocations: 0.9755 MB / 404 MB, free: 19.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02064/0.7044, allocations: 5.537 MB / 409.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01684/0.7213, allocations: 4.958 MB / 414.5 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008292/0.7297, allocations: 2.53 MB / 417.1 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.74, allocations: 3.101 MB / 420.2 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003769/0.7438, allocations: 447.9 kB / 420.6 MB, free: 2.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005991/0.7499, allocations: 0.6013 MB / 421.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004768/0.7547, allocations: 1.573 MB / 422.8 MB, free: 484 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005517/0.7603, allocations: 1.522 MB / 424.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03017/0.7906, allocations: 11.57 MB / 435.9 MB, free: 3.336 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.7907, allocations: 0 / 435.9 MB, free: 3.336 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.939e-06/0.7907, allocations: 0 / 435.9 MB, free: 3.336 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005859/0.7913, allocations: 0 / 435.9 MB, free: 3.336 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.05279/0.8441, allocations: 7.468 MB / 443.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.807e-05/0.8442, allocations: 16.02 kB / 443.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02626/0.8705, allocations: 1.665 MB / 445 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02352/0.8941, allocations: 4.366 MB / 449.4 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001355/0.8955, allocations: 0.5215 MB / 449.9 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004704/0.9003, allocations: 0.6834 MB / 450.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05213/0.9525, allocations: 9.333 MB / 459.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005442/0.9531, allocations: 4 kB / 459.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00315/0.9563, allocations: 288 kB / 460.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007863/0.9571, allocations: 330.2 kB / 460.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04803/1.005, allocations: 8.028 MB / 468.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1406/1.146, allocations: 28.87 MB / 497.4 MB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4552/1.601, allocations: 16.57 MB / 0.5019 GB, free: 85.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0281/1.629, allocations: 6.549 MB / 0.5083 GB, free: 83.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.57e-05/1.63, allocations: 63.78 kB / 0.5084 GB, free: 82.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=281): time 8.727e-06/1.63, allocations: 0 / 0.5084 GB, free: 82.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=289): time 0.06411/1.694, allocations: 11.97 MB / 0.5201 GB, free: 77.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/1.694, allocations: 81.19 kB / 0.5202 GB, free: 77.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/1.706, allocations: 3.267 MB / 0.5233 GB, free: 76.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008633/1.707, allocations: 69.55 kB / 0.5234 GB, free: 76.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003885/1.711, allocations: 2.818 MB / 0.5262 GB, free: 73.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00218/1.713, allocations: 0.987 MB / 0.5271 GB, free: 72.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009903/1.714, allocations: 70.69 kB / 0.5272 GB, free: 72.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0007252/1.715, allocations: 452 kB / 0.5276 GB, free: 72.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00698/1.722, allocations: 1.465 MB / 0.5291 GB, free: 71.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008052/1.73, allocations: 2.467 MB / 0.5315 GB, free: 69.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008625/1.739, allocations: 1.933 MB / 0.5334 GB, free: 68.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.36e-05/1.739, allocations: 7.688 kB / 0.5334 GB, free: 68.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.02198/1.761, allocations: 4.66 MB / 0.5379 GB, free: 63.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/1.761, allocations: 20 kB / 0.5379 GB, free: 63.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.931e-05/1.762, allocations: 32.72 kB / 0.538 GB, free: 63.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/1.764, allocations: 434.7 kB / 0.5384 GB, free: 63.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009165/1.773, allocations: 0.8279 MB / 0.5392 GB, free: 62.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.788, allocations: 7.72 MB / 0.5467 GB, free: 54.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007059/1.795, allocations: 171.9 kB / 0.5469 GB, free: 53.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.796, allocations: 152 kB / 0.547 GB, free: 53.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * 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 (423): * Single equations (assignments): 417 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008921/1.805, allocations: 2.074 MB / 0.5491 GB, free: 51.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001882/1.807, allocations: 379.4 kB / 0.5494 GB, free: 51.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02165/1.829, allocations: 4.503 MB / 0.5538 GB, free: 46.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.502e-05/1.829, allocations: 28 kB / 0.5538 GB, free: 46.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-05/1.829, allocations: 16 kB / 0.5539 GB, free: 46.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/1.829, allocations: 19.94 kB / 0.5539 GB, free: 46.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04699/1.876, allocations: 10.65 MB / 0.5643 GB, free: 35.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.025e-05/1.876, allocations: 7.938 kB / 0.5643 GB, free: 35.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006044/1.882, allocations: 459.8 kB / 0.5647 GB, free: 35.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00537/1.888, allocations: 0.8456 MB / 0.5656 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008199/1.889, allocations: 79.97 kB / 0.5656 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0372/1.926, allocations: 16.28 MB / 0.5815 GB, free: 17.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.537e-05/1.926, allocations: 11.95 kB / 0.5815 GB, free: 17.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02665/1.953, allocations: 6.824 MB / 0.5882 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004198/1.957, allocations: 0.7619 MB / 0.5889 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002363/1.959, allocations: 68 kB / 0.589 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005994/1.965, allocations: 155.8 kB / 0.5892 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001453/1.967, allocations: 221.8 kB / 0.5894 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007431/1.968, allocations: 79.98 kB / 0.5894 GB, free: 8.816 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00907/1.977, allocations: 2.207 MB / 0.5916 GB, free: 6.621 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.633e-06/1.977, allocations: 3.938 kB / 0.5916 GB, free: 6.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0105/1.987, allocations: 1.148 MB / 0.5927 GB, free: 5.469 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * 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 (221): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00141/1.989, allocations: 220.2 kB / 0.5929 GB, free: 5.254 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01712/2.006, allocations: 4.323 MB / 0.5972 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.911e-05/2.006, allocations: 0 / 0.5972 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01253/2.019, allocations: 2.995 MB / 0.6001 GB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01151/2.03, allocations: 0.9396 MB / 0.601 GB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06148/2.092, allocations: 14.67 MB / 0.6153 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/2.106, allocations: 4.244 MB / 0.6195 GB, free: 9.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002819/2.109, allocations: 291.4 kB / 0.6197 GB, free: 9.465 MB / 410.7 MB Notification: Performance of SimCode: time 2.324e-06/2.109, allocations: 0 / 0.6197 GB, free: 9.465 MB / 410.7 MB Notification: Performance of Templates: time 1.736/3.845, allocations: 284.8 MB / 0.8979 GB, free: 106.3 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMR_Inverter_MultiPhase/SMR_Inverter_MultiPhase.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches