Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 176.5 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 241.4 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007333/0.0007332, allocations: 96.64 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003567, allocations: 11.94 kB / 352.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.236, allocations: 50.4 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.288/0.5241, allocations: 115.9 MB / 0.5065 GB, free: 100.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.5244, allocations: 107.9 kB / 0.5066 GB, free: 100.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5381/1.062, allocations: 159.6 MB / 0.6625 GB, free: 33.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.063, allocations: 0 / 0.6625 GB, free: 33.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005506/1.063, allocations: 165.5 kB / 0.6626 GB, free: 33.64 MB / 426.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.02073/1.084, allocations: 6.946 MB / 0.6694 GB, free: 31.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.084, allocations: 10.19 kB / 0.6694 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008476/1.092, allocations: 1.528 MB / 0.6709 GB, free: 31.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/1.105, allocations: 5.196 MB / 0.676 GB, free: 30.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005806/1.105, allocations: 0.5131 MB / 0.6765 GB, free: 30.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/1.108, allocations: 0.6861 MB / 0.6772 GB, free: 30.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0213/1.129, allocations: 9.252 MB / 0.6862 GB, free: 29.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001829/1.129, allocations: 13.75 kB / 0.6862 GB, free: 29.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008024/1.13, allocations: 298.9 kB / 0.6865 GB, free: 29.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003706/1.13, allocations: 323.3 kB / 0.6868 GB, free: 29.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/1.145, allocations: 7.57 MB / 0.6942 GB, free: 29.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04699/1.192, allocations: 28.88 MB / 0.7224 GB, free: 24.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/1.204, allocations: 16.61 MB / 0.7386 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00448/1.209, allocations: 3.003 MB / 0.7415 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01452/1.223, allocations: 7.848 MB / 0.7492 GB, free: 4.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/1.223, allocations: 67.3 kB / 0.7493 GB, free: 4.559 MB / 426.7 MB Notification: Performance of pre-optimization done (n=260): time 5.099e-06/1.223, allocations: 0 / 0.7493 GB, free: 4.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=266): time 0.02323/1.247, allocations: 11.12 MB / 0.7601 GB, free: 14.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/1.247, allocations: 79.75 kB / 0.7602 GB, free: 14.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006458/1.253, allocations: 3.316 MB / 0.7634 GB, free: 13.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005119/1.254, allocations: 72.89 kB / 0.7635 GB, free: 13.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0021/1.256, allocations: 3.032 MB / 0.7665 GB, free: 11.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.257, allocations: 0.9168 MB / 0.7674 GB, free: 10.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004315/1.257, allocations: 70.69 kB / 0.7674 GB, free: 10.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002721/1.258, allocations: 441.3 kB / 0.7679 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002615/1.26, allocations: 1.398 MB / 0.7692 GB, free: 9.637 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/1.264, allocations: 2.42 MB / 0.7716 GB, free: 7.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005865/1.269, allocations: 4.085 MB / 0.7756 GB, free: 5.188 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.064e-05/1.27, allocations: 7.25 kB / 0.7756 GB, free: 5.188 MB / 442.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.008287/1.278, allocations: 4.702 MB / 0.7802 GB, free: 3.297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/1.278, allocations: 19.53 kB / 0.7802 GB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.271e-05/1.278, allocations: 35.19 kB / 0.7802 GB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009516/1.279, allocations: 402.6 kB / 0.7806 GB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002848/1.282, allocations: 0.7932 MB / 0.7814 GB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006224/1.288, allocations: 7.342 MB / 0.7885 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/1.291, allocations: 170.9 kB / 0.7887 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000572/1.292, allocations: 147.2 kB / 0.7889 GB, free: 12.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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.004719/1.297, allocations: 2.074 MB / 0.7909 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.298, allocations: 367 kB / 0.7912 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008079/1.306, allocations: 4.256 MB / 0.7954 GB, free: 7.648 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.306, allocations: 24 kB / 0.7954 GB, free: 7.625 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.921e-05/1.306, allocations: 12 kB / 0.7954 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.561e-05/1.306, allocations: 13.73 kB / 0.7954 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/1.326, allocations: 9.919 MB / 0.8051 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.326, allocations: 6.75 kB / 0.8051 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/1.328, allocations: 413.2 kB / 0.8055 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/1.33, allocations: 0.8602 MB / 0.8064 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002585/1.33, allocations: 67.08 kB / 0.8064 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/1.346, allocations: 16.1 MB / 0.8221 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.346, allocations: 5.438 kB / 0.8221 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/1.357, allocations: 6.073 MB / 0.8281 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/1.359, allocations: 0.7538 MB / 0.8288 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.36, allocations: 60 kB / 0.8289 GB, free: 8.137 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002256/1.362, allocations: 147.9 kB / 0.829 GB, free: 8.023 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005148/1.363, allocations: 202.9 kB / 0.8292 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/1.363, allocations: 79.08 kB / 0.8293 GB, free: 7.824 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004838/1.368, allocations: 2.242 MB / 0.8315 GB, free: 5.949 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.368, allocations: 3.75 kB / 0.8315 GB, free: 5.949 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005804/1.374, allocations: 1.187 MB / 0.8326 GB, free: 4.766 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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.001038/1.375, allocations: 0.516 MB / 0.8331 GB, free: 4.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006784/1.382, allocations: 4.122 MB / 0.8372 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.382, allocations: 0 / 0.8372 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2313/1.613, allocations: 3.09 MB / 0.8402 GB, free: 88.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006043/1.619, allocations: 0.9557 MB / 0.8411 GB, free: 88.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/1.639, allocations: 14.52 MB / 0.8553 GB, free: 82.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00391/1.643, allocations: 4.226 MB / 0.8594 GB, free: 81.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003495/1.647, allocations: 0.8371 MB / 0.8602 GB, free: 81.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007433/1.647, allocations: 252.6 kB / 0.8605 GB, free: 81.16 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/1.647, allocations: 0 / 0.8605 GB, free: 81.16 MB / 490.7 MB Notification: Performance of Templates: time 0.1032/1.75, allocations: 55.79 MB / 0.915 GB, free: 78.58 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMR_Inverter_Polyphase/SMR_Inverter_Polyphase.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches