Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002778/0.002785, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.127/4.127, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001954/0.001954, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006328/0.0006332, allocations: 8 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2207, allocations: 47.59 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.02405/0.2448, allocations: 8.342 MB / 382.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.2591, allocations: 3.353 MB / 386.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/0.2621, allocations: 47.75 kB / 386.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004434/0.2666, allocations: 0.6375 MB / 386.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005639/0.2723, allocations: 0.7244 MB / 387.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.2749, allocations: 267.6 kB / 387.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006973/0.2819, allocations: 1.802 MB / 389.7 MB, free: 216 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4536/0.7355, allocations: 1.545 MB / 391.3 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003719/0.7393, allocations: 0.8708 MB / 392.1 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008798/0.7482, allocations: 1.121 MB / 393.3 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005751/0.754, allocations: 141.9 kB / 393.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.7568, allocations: 215.7 kB / 393.6 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002744/0.7596, allocations: 0.6669 MB / 394.3 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.7621, allocations: 0.5156 MB / 394.8 MB, free: 9.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.7725, allocations: 3.466 MB / 398.3 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7726, allocations: 0 / 398.3 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.278e-06/0.7726, allocations: 0 / 398.3 MB, free: 9.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002106/0.7728, allocations: 0 / 398.3 MB, free: 9.336 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01491/0.7878, allocations: 2.605 MB / 400.9 MB, free: 7.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.361e-05/0.7879, allocations: 12.98 kB / 400.9 MB, free: 7.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/0.7911, allocations: 308.8 kB / 401.2 MB, free: 7.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008038/0.7992, allocations: 1.477 MB / 402.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005344/0.7999, allocations: 179.7 kB / 402.8 MB, free: 7.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001691/0.8016, allocations: 218.7 kB / 403 MB, free: 7.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/0.8193, allocations: 2.886 MB / 405.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002325/0.8196, allocations: 9.375 kB / 405.9 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/0.8208, allocations: 87.52 kB / 406 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003377/0.8212, allocations: 117.8 kB / 406.1 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.8352, allocations: 2.434 MB / 408.6 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03985/0.8751, allocations: 9.111 MB / 417.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007303/0.8825, allocations: 1.707 MB / 419.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000784/0.8833, allocations: 209.8 kB / 419.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.727e-05/0.8834, allocations: 47.55 kB / 419.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=105): time 5.931e-06/0.8835, allocations: 0 / 419.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.08722/0.9707, allocations: 7.489 MB / 427.1 MB, free: 6.191 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.9709, allocations: 74.53 kB / 427.2 MB, free: 6.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/0.9812, allocations: 1.499 MB / 428.7 MB, free: 4.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004849/0.9817, allocations: 45.7 kB / 428.7 MB, free: 4.547 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001818/0.9876, allocations: 1.057 MB / 429.8 MB, free: 3.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.9888, allocations: 434.3 kB / 430.2 MB, free: 3.062 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.9891, allocations: 32 kB / 430.3 MB, free: 3.031 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000336/0.9895, allocations: 366.8 kB / 430.6 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/0.9934, allocations: 0.7574 MB / 431.4 MB, free: 1.906 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01304/1.007, allocations: 1.175 MB / 432.5 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008923/1.016, allocations: 0.9393 MB / 433.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.968e-05/1.016, allocations: 4 kB / 433.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.02189/1.038, allocations: 2.533 MB / 436 MB, free: 13.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.675e-05/1.038, allocations: 12 kB / 436 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-05/1.038, allocations: 13.03 kB / 436 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004301/1.042, allocations: 0.5527 MB / 436.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0166/1.059, allocations: 355.5 kB / 436.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04276/1.102, allocations: 6.5 MB / 443.4 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01231/1.114, allocations: 127.8 kB / 443.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006291/1.115, allocations: 66.28 kB / 443.6 MB, free: 5.176 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01669/1.131, allocations: 0.7159 MB / 444.3 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/1.133, allocations: 177.8 kB / 444.5 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02621/1.159, allocations: 2.34 MB / 446.9 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.054e-05/1.159, allocations: 12 kB / 446.9 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-05/1.159, allocations: 4 kB / 446.9 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.653e-05/1.159, allocations: 7.969 kB / 446.9 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02522/1.185, allocations: 4.842 MB / 451.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/1.185, allocations: 0 / 451.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/1.188, allocations: 224 kB / 451.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004496/1.192, allocations: 0.5762 MB / 452.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004864/1.193, allocations: 35.98 kB / 452.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02453/1.217, allocations: 7.999 MB / 460.6 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/1.217, allocations: 4 kB / 460.6 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/1.238, allocations: 3.516 MB / 464.1 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002427/1.24, allocations: 394.8 kB / 464.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/1.241, allocations: 31.98 kB / 464.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007494/1.249, allocations: 97.86 kB / 464.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008318/1.25, allocations: 100.8 kB / 464.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004959/1.254, allocations: 32 kB / 464.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004867/1.259, allocations: 1.02 MB / 465.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.914e-06/1.259, allocations: 0 / 465.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.009241/1.269, allocations: 0.4922 MB / 466.2 MB, free: 13.92 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (102): * Single equations (assignments): 99 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 20,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009673/1.27, allocations: 162.1 kB / 466.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01947/1.289, allocations: 2.367 MB / 468.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/1.289, allocations: 0 / 468.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01575/1.305, allocations: 1.485 MB / 470.2 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009793/1.315, allocations: 432.6 kB / 470.7 MB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03935/1.354, allocations: 5.665 MB / 476.3 MB, free: 3.684 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005204/1.36, allocations: 1.894 MB / 478.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/1.361, allocations: 123.4 kB / 478.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of SimCode: time 1.654e-06/1.361, allocations: 0 / 478.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of Templates: time 0.2517/1.613, allocations: 59.35 MB / 0.5251 GB, free: 6.168 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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/SMPM_Inverter/SMPM_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches