Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|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|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|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|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 201.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000729/0.0007289, allocations: 107.1 kB / 297.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002206/0.0002207, allocations: 8 kB / 358.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2055, allocations: 51.29 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3123/0.5179, allocations: 127.4 MB / 0.5242 GB, free: 89.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.5182, allocations: 99.83 kB / 0.5243 GB, free: 89.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.258/0.7762, allocations: 119.1 MB / 0.6406 GB, free: 2.301 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7763, allocations: 0 / 0.6406 GB, free: 2.301 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004886/0.7768, allocations: 131.8 kB / 0.6408 GB, free: 2.172 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: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.01708/0.7939, allocations: 5.369 MB / 0.646 GB, free: 12.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.7939, allocations: 12.03 kB / 0.646 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005167/0.7991, allocations: 0.9621 MB / 0.6469 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009473/0.8086, allocations: 3.891 MB / 0.6507 GB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003958/0.809, allocations: 386.7 kB / 0.6511 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001572/0.8106, allocations: 0.5003 MB / 0.6516 GB, free: 6.891 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.8264, allocations: 6.729 MB / 0.6582 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002193/0.8267, allocations: 11.84 kB / 0.6582 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001157/0.8279, allocations: 220 kB / 0.6584 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002526/0.8281, allocations: 234.2 kB / 0.6586 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.8405, allocations: 5.444 MB / 0.6639 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2804/1.121, allocations: 21.25 MB / 0.6847 GB, free: 50.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.131, allocations: 8.86 MB / 0.6933 GB, free: 44.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004528/1.136, allocations: 2.099 MB / 0.6954 GB, free: 44.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01557/1.152, allocations: 6.293 MB / 0.7015 GB, free: 43.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.832e-05/1.152, allocations: 59.38 kB / 0.7016 GB, free: 43.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=210): time 8.676e-06/1.152, allocations: 3.656 kB / 0.7016 GB, free: 43.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=234): time 0.03703/1.189, allocations: 11.84 MB / 0.7132 GB, free: 40.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/1.189, allocations: 79.38 kB / 0.7132 GB, free: 40.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006819/1.196, allocations: 2.873 MB / 0.716 GB, free: 40.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003245/1.196, allocations: 65.02 kB / 0.7161 GB, free: 40.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/1.198, allocations: 2.357 MB / 0.7184 GB, free: 39.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008354/1.199, allocations: 0.8035 MB / 0.7192 GB, free: 39.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/1.199, allocations: 59.66 kB / 0.7192 GB, free: 39.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/1.199, allocations: 424 kB / 0.7196 GB, free: 38.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003173/1.202, allocations: 1.327 MB / 0.7209 GB, free: 38.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003734/1.206, allocations: 2.219 MB / 0.7231 GB, free: 37.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007247/1.213, allocations: 3.781 MB / 0.7268 GB, free: 36.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-05/1.213, allocations: 7.781 kB / 0.7268 GB, free: 36.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01163/1.225, allocations: 4.647 MB / 0.7313 GB, free: 36.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/1.225, allocations: 17.16 kB / 0.7314 GB, free: 36.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.242e-05/1.225, allocations: 29.75 kB / 0.7314 GB, free: 36.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002368/1.228, allocations: 0.7155 MB / 0.7321 GB, free: 36.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/1.232, allocations: 0.6927 MB / 0.7328 GB, free: 36.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/1.243, allocations: 9.405 MB / 0.742 GB, free: 31.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/1.247, allocations: 186.4 kB / 0.7421 GB, free: 31.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000572/1.247, allocations: 126.8 kB / 0.7423 GB, free: 31.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (345): * Single equations (assignments): 339 * 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 {(6,72.2%) 22,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004127/1.252, allocations: 1.525 MB / 0.7437 GB, free: 30.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.253, allocations: 322.6 kB / 0.744 GB, free: 30.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009741/1.262, allocations: 4.169 MB / 0.7481 GB, free: 28.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.262, allocations: 22.56 kB / 0.7481 GB, free: 28.31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/1.262, allocations: 12.62 kB / 0.7482 GB, free: 28.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.366e-05/1.262, allocations: 13.41 kB / 0.7482 GB, free: 28.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02044/1.283, allocations: 8.833 MB / 0.7568 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.283, allocations: 3.812 kB / 0.7568 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/1.285, allocations: 385.7 kB / 0.7572 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003147/1.288, allocations: 0.9454 MB / 0.7581 GB, free: 24.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/1.289, allocations: 58.22 kB / 0.7581 GB, free: 24.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/1.302, allocations: 15.53 MB / 0.7733 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.302, allocations: 3.812 kB / 0.7733 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008578/1.311, allocations: 5.889 MB / 0.7791 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.312, allocations: 0.6773 MB / 0.7797 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007411/1.313, allocations: 53.11 kB / 0.7798 GB, free: 9.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/1.315, allocations: 154.5 kB / 0.7799 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/1.315, allocations: 186.2 kB / 0.7801 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/1.316, allocations: 68.08 kB / 0.7802 GB, free: 9.121 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003493/1.319, allocations: 1.933 MB / 0.7821 GB, free: 8.391 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.319, allocations: 0 / 0.7821 GB, free: 8.391 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004314/1.323, allocations: 1.033 MB / 0.7831 GB, free: 8.281 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (vfController.x,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,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.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 (180): * Single equations (assignments): 173 * 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 {(6,72.2%) 22,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 4,(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.0009222/1.324, allocations: 0.4884 MB / 0.7835 GB, free: 8.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006422/1.331, allocations: 4.111 MB / 0.7876 GB, free: 6.289 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.331, allocations: 3.172 kB / 0.7876 GB, free: 6.289 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003829/1.335, allocations: 2.747 MB / 0.7902 GB, free: 4.801 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0057/1.34, allocations: 0.8096 MB / 0.791 GB, free: 4.562 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/1.357, allocations: 11.53 MB / 0.8023 GB, free: 11.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004021/1.362, allocations: 3.321 MB / 0.8055 GB, free: 8.852 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003048/1.365, allocations: 0.7612 MB / 0.8063 GB, free: 8.324 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008126/1.365, allocations: 222.2 kB / 0.8065 GB, free: 8.121 MB / 458.7 MB Notification: Performance of SimCode: time 1.373e-06/1.365, allocations: 0 / 0.8065 GB, free: 8.121 MB / 458.7 MB Notification: Performance of Templates: time 0.2872/1.653, allocations: 50.34 MB / 0.8556 GB, free: 78.41 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches