Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 108.4 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 47.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.09053, allocations: 46.64 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01121/0.1018, allocations: 9.575 MB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006711/0.1086, allocations: 3.152 MB / 341.5 MB, free: 6.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.1101, allocations: 47.75 kB / 341.5 MB, free: 6.906 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.112, allocations: 0.6675 MB / 342.2 MB, free: 6.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.1148, allocations: 0.757 MB / 342.9 MB, free: 5.473 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.1159, allocations: 403.4 kB / 343.3 MB, free: 5.078 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002788/0.1187, allocations: 2.557 MB / 345.9 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.1214, allocations: 2.294 MB / 348.2 MB, free: 160 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.1231, allocations: 1.172 MB / 349.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.125, allocations: 1.502 MB / 350.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003926/0.1254, allocations: 316 kB / 351.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006978/0.1262, allocations: 415.8 kB / 351.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007934/0.127, allocations: 0.9 MB / 352.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.1283, allocations: 1.415 MB / 353.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003556/0.1319, allocations: 4.147 MB / 358 MB, free: 6.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1319, allocations: 0 / 358 MB, free: 6.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1319, allocations: 0 / 358 MB, free: 6.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.52e-05/0.132, allocations: 3.984 kB / 358 MB, free: 6.27 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005483/0.1375, allocations: 2.908 MB / 360.9 MB, free: 3.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1376, allocations: 12.03 kB / 360.9 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006679/0.1382, allocations: 289.6 kB / 361.2 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.1409, allocations: 1.449 MB / 362.7 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.141, allocations: 160.6 kB / 362.8 MB, free: 1.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.1413, allocations: 207.9 kB / 363 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004349/0.1457, allocations: 2.803 MB / 365.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.377e-05/0.1457, allocations: 7.906 kB / 365.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.1459, allocations: 83.94 kB / 365.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.1461, allocations: 112.2 kB / 366 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003767/0.1498, allocations: 2.343 MB / 368.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.163, allocations: 8.491 MB / 376.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.1655, allocations: 1.715 MB / 378.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.1672, allocations: 0.9645 MB / 379.6 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2001/0.3673, allocations: 205.7 kB / 379.8 MB, free: 51.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.468e-05/0.3674, allocations: 43.38 kB / 379.8 MB, free: 51.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=101): time 3.597e-06/0.3674, allocations: 0 / 379.8 MB, free: 51.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.01342/0.3808, allocations: 6.099 MB / 385.9 MB, free: 49.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.3809, allocations: 66.27 kB / 386 MB, free: 49.9 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/0.3832, allocations: 1.438 MB / 387.4 MB, free: 49.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.678e-05/0.3833, allocations: 46.08 kB / 387.4 MB, free: 49.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007412/0.3841, allocations: 1.044 MB / 388.5 MB, free: 48.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/0.3844, allocations: 402.6 kB / 388.9 MB, free: 48.19 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/0.3848, allocations: 256.9 kB / 389.1 MB, free: 48.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3849, allocations: 357.5 kB / 389.5 MB, free: 47.74 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.3861, allocations: 0.683 MB / 390.2 MB, free: 47.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.3874, allocations: 1.078 MB / 391.2 MB, free: 46.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/0.3896, allocations: 1.864 MB / 393.1 MB, free: 45.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3896, allocations: 3.938 kB / 393.1 MB, free: 45.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003619/0.3932, allocations: 2.408 MB / 395.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.3933, allocations: 11.31 kB / 395.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.3933, allocations: 10.91 kB / 395.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008891/0.3942, allocations: 413.7 kB / 395.9 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.3953, allocations: 333.5 kB / 396.3 MB, free: 44.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005014/0.4003, allocations: 7.036 MB / 403.3 MB, free: 38.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.4014, allocations: 98.48 kB / 403.4 MB, free: 38.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/0.4015, allocations: 56.25 kB / 403.5 MB, free: 38.85 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009341/0.4025, allocations: 0.7025 MB / 404.2 MB, free: 38.37 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.4027, allocations: 158.2 kB / 404.3 MB, free: 38.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.4057, allocations: 2.115 MB / 406.4 MB, free: 36.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.4057, allocations: 12.77 kB / 406.4 MB, free: 36.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4057, allocations: 4 kB / 406.4 MB, free: 36.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4058, allocations: 7.969 kB / 406.5 MB, free: 36.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006147/0.4119, allocations: 4.555 MB / 411 MB, free: 31.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.4119, allocations: 6.562 kB / 411 MB, free: 31.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008028/0.4127, allocations: 216.1 kB / 411.2 MB, free: 31.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009535/0.4137, allocations: 461.5 kB / 411.7 MB, free: 31.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.4138, allocations: 31.98 kB / 411.7 MB, free: 31.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005905/0.4197, allocations: 8.613 MB / 420.3 MB, free: 22.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4197, allocations: 7.938 kB / 420.3 MB, free: 22.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/0.4237, allocations: 3.095 MB / 423.4 MB, free: 18.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007635/0.4245, allocations: 383 kB / 423.8 MB, free: 18.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.4247, allocations: 35.92 kB / 423.8 MB, free: 18.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007933/0.4255, allocations: 83.91 kB / 423.9 MB, free: 18.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.4257, allocations: 96.8 kB / 424 MB, free: 18.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.4258, allocations: 40.92 kB / 424 MB, free: 18.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001134/0.4269, allocations: 0.9847 MB / 425 MB, free: 17.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4269, allocations: 4 kB / 425 MB, free: 17.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001561/0.4285, allocations: 462.6 kB / 425.5 MB, free: 16.85 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003325/0.4288, allocations: 200.9 kB / 425.7 MB, free: 16.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002906/0.4317, allocations: 2.218 MB / 427.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4318, allocations: 0 / 427.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.4336, allocations: 1.445 MB / 429.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.4352, allocations: 422.6 kB / 429.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005608/0.4409, allocations: 4.461 MB / 434.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.4419, allocations: 1.798 MB / 436 MB, free: 6.141 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009063/0.4428, allocations: 365.6 kB / 436.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.4431, allocations: 119.4 kB / 436.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4432, allocations: 0 / 436.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of Templates: time 0.03855/0.4817, allocations: 24.34 MB / 460.8 MB, free: 13.32 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches