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.0009172/0.0009171, allocations: 180.9 kB / 17.41 MB, free: 4.289 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.326/1.326, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007636/0.0007636, allocations: 85.03 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003125, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2253, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3481, allocations: 113.7 MB / 489.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.3484, allocations: 95.94 kB / 489.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4685/0.8169, allocations: 159 MB / 0.6333 GB, free: 13.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.817, allocations: 0 / 0.6333 GB, free: 13.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005809/0.8176, allocations: 175.7 kB / 0.6334 GB, free: 12.88 MB / 410.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.02194/0.8395, allocations: 6.918 MB / 0.6402 GB, free: 5.863 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8396, allocations: 8.031 kB / 0.6402 GB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008611/0.8482, allocations: 1.53 MB / 0.6417 GB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.216/1.064, allocations: 5.186 MB / 0.6468 GB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005087/1.065, allocations: 0.5137 MB / 0.6473 GB, free: 37.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/1.067, allocations: 0.6817 MB / 0.6479 GB, free: 37.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02255/1.09, allocations: 9.276 MB / 0.657 GB, free: 36.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002488/1.09, allocations: 6.5 kB / 0.657 GB, free: 36.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001703/1.092, allocations: 297.2 kB / 0.6573 GB, free: 36.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002681/1.092, allocations: 321.7 kB / 0.6576 GB, free: 36.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/1.108, allocations: 7.573 MB / 0.665 GB, free: 36.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05283/1.161, allocations: 28.9 MB / 0.6932 GB, free: 31.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/1.173, allocations: 16.6 MB / 0.7094 GB, free: 18.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004335/1.177, allocations: 2.963 MB / 0.7123 GB, free: 17.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/1.19, allocations: 7.792 MB / 0.7199 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/1.19, allocations: 60.12 kB / 0.72 GB, free: 13.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=258): time 5.05e-06/1.19, allocations: 2.969 kB / 0.72 GB, free: 13.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=264): time 0.02083/1.21, allocations: 11.03 MB / 0.7307 GB, free: 7.887 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/1.21, allocations: 83.36 kB / 0.7308 GB, free: 7.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005058/1.216, allocations: 3.321 MB / 0.7341 GB, free: 6.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004848/1.216, allocations: 68.92 kB / 0.7341 GB, free: 6.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/1.218, allocations: 3.039 MB / 0.7371 GB, free: 4.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008706/1.219, allocations: 0.9091 MB / 0.738 GB, free: 3.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/1.219, allocations: 74.59 kB / 0.7381 GB, free: 3.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/1.219, allocations: 440.9 kB / 0.7385 GB, free: 3.172 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/1.221, allocations: 1.389 MB / 0.7398 GB, free: 2.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/1.223, allocations: 2.425 MB / 0.7422 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005189/1.228, allocations: 4.065 MB / 0.7462 GB, free: 14.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/1.229, allocations: 11.84 kB / 0.7462 GB, free: 14.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.007967/1.236, allocations: 4.69 MB / 0.7508 GB, free: 12.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/1.237, allocations: 20.16 kB / 0.7508 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.466e-05/1.237, allocations: 29.5 kB / 0.7508 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009884/1.238, allocations: 396.3 kB / 0.7512 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/1.24, allocations: 0.799 MB / 0.752 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00639/1.247, allocations: 7.35 MB / 0.7592 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/1.25, allocations: 172.9 kB / 0.7593 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005974/1.251, allocations: 148.2 kB / 0.7595 GB, free: 5.805 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (410): * Single equations (assignments): 404 * 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%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004728/1.255, allocations: 2.081 MB / 0.7615 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.257, allocations: 367.1 kB / 0.7618 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008954/1.265, allocations: 4.221 MB / 0.766 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/1.266, allocations: 32 kB / 0.766 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.939e-05/1.266, allocations: 10.44 kB / 0.766 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-05/1.266, allocations: 10.64 kB / 0.766 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02351/1.289, allocations: 9.964 MB / 0.7757 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-05/1.289, allocations: 7.797 kB / 0.7758 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/1.291, allocations: 410.8 kB / 0.7761 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002283/1.293, allocations: 0.8533 MB / 0.777 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003847/1.294, allocations: 71.45 kB / 0.777 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/1.311, allocations: 16.08 MB / 0.7927 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.311, allocations: 7.938 kB / 0.7928 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/1.323, allocations: 6.044 MB / 0.7987 GB, free: 6.406 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/1.325, allocations: 0.7505 MB / 0.7994 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/1.326, allocations: 59.8 kB / 0.7995 GB, free: 5.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002317/1.329, allocations: 149.1 kB / 0.7996 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005822/1.329, allocations: 212.2 kB / 0.7998 GB, free: 5.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000262/1.329, allocations: 74.56 kB / 0.7999 GB, free: 5.344 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004899/1.334, allocations: 2.248 MB / 0.8021 GB, free: 3.465 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.502e-06/1.334, allocations: 0 / 0.8021 GB, free: 3.465 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007161/1.342, allocations: 1.192 MB / 0.8032 GB, free: 2.281 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (198): * Single equations (assignments): 191 * 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 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/1.343, allocations: 0.4955 MB / 0.8037 GB, free: 1.898 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009532/1.352, allocations: 4.282 MB / 0.8079 GB, free: 14.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.352, allocations: 384 / 0.8079 GB, free: 14.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004963/1.357, allocations: 2.863 MB / 0.8107 GB, free: 11.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007443/1.365, allocations: 0.9531 MB / 0.8116 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2396/1.604, allocations: 14.56 MB / 0.8258 GB, free: 89.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004951/1.609, allocations: 4.117 MB / 0.8299 GB, free: 89.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.611, allocations: 281.4 kB / 0.8301 GB, free: 89.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/1.611, allocations: 1.312 kB / 0.8301 GB, free: 89.1 MB / 474.7 MB Notification: Performance of Templates: time 0.4994/2.11, allocations: 305.1 MB / 1.128 GB, free: 22.2 MB / 474.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