Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001141/0.001141, allocations: 187 kB / 17.92 MB, free: 3.855 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.221/1.221, allocations: 205.1 MB / 223.7 MB, free: 8.477 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.001041/0.001041, allocations: 94.3 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009121/0.0009123, allocations: 39.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2183, allocations: 46.61 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.009215/0.2276, allocations: 10.19 MB / 384 MB, free: 37.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005783/0.2334, allocations: 3.456 MB / 387.5 MB, free: 34.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.2355, allocations: 46.84 kB / 387.5 MB, free: 34.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.2377, allocations: 0.6709 MB / 388.2 MB, free: 34.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.2412, allocations: 0.7507 MB / 388.9 MB, free: 33.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009504/0.2421, allocations: 372.9 kB / 389.3 MB, free: 33.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003239/0.2454, allocations: 3.135 MB / 392.4 MB, free: 30.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.2474, allocations: 1.997 MB / 394.4 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.2488, allocations: 1.105 MB / 395.5 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.2505, allocations: 1.525 MB / 397.1 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.2508, allocations: 208 kB / 397.3 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006532/0.2514, allocations: 323.7 kB / 397.6 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000507/0.252, allocations: 0.8061 MB / 398.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009113/0.2529, allocations: 1.372 MB / 399.8 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.255, allocations: 4.225 MB / 404 MB, free: 19.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2551, allocations: 0 / 404 MB, free: 19.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2551, allocations: 0 / 404 MB, free: 19.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.597e-05/0.2551, allocations: 0 / 404 MB, free: 19.2 MB / 298.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.004382/0.2595, allocations: 3.053 MB / 407 MB, free: 16.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2595, allocations: 8.031 kB / 407.1 MB, free: 16.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005671/0.2601, allocations: 317.4 kB / 407.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.2621, allocations: 1.513 MB / 408.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.2622, allocations: 172.5 kB / 409 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.2625, allocations: 227.9 kB / 409.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.2659, allocations: 2.913 MB / 412.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/0.2659, allocations: 7.906 kB / 412.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/0.2661, allocations: 91.98 kB / 412.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.659e-05/0.2662, allocations: 116.3 kB / 412.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/0.2692, allocations: 2.43 MB / 414.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.2796, allocations: 9.109 MB / 423.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.2819, allocations: 1.697 MB / 425.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.2835, allocations: 0.9955 MB / 426.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.2838, allocations: 207.2 kB / 426.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.2838, allocations: 43.56 kB / 426.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 3.507e-06/0.2838, allocations: 0 / 426.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.01246/0.2963, allocations: 6.534 MB / 433.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.2963, allocations: 64.41 kB / 433.5 MB, free: 4.871 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.2982, allocations: 1.557 MB / 435 MB, free: 3.305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.475e-05/0.2983, allocations: 49.64 kB / 435.1 MB, free: 3.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006697/0.299, allocations: 1.115 MB / 436.2 MB, free: 2.117 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.2993, allocations: 425.8 kB / 436.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.2997, allocations: 275.3 kB / 436.9 MB, free: 1.422 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.2998, allocations: 305.1 kB / 437.2 MB, free: 1.121 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.3008, allocations: 0.7027 MB / 437.9 MB, free: 428 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.3021, allocations: 1.139 MB / 439 MB, free: 15.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/0.3046, allocations: 1.972 MB / 441 MB, free: 12.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3046, allocations: 4 kB / 441 MB, free: 12.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.003653/0.3083, allocations: 2.518 MB / 443.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3083, allocations: 12 kB / 443.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.3083, allocations: 19.98 kB / 443.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008851/0.3092, allocations: 427.3 kB / 444 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.3103, allocations: 351.4 kB / 444.3 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005962/0.3163, allocations: 6.533 MB / 450.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.3174, allocations: 103.8 kB / 450.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.3175, allocations: 71.98 kB / 451 MB, free: 2.465 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (169): * Single equations (assignments): 165 * 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,12,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.001004/0.3186, allocations: 0.713 MB / 451.7 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.3188, allocations: 173.9 kB / 451.9 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/0.3222, allocations: 2.19 MB / 454.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.3222, allocations: 12 kB / 454.1 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3223, allocations: 7.984 kB / 454.1 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3223, allocations: 7.984 kB / 454.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007109/0.3294, allocations: 4.785 MB / 458.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.3294, allocations: 4.531 kB / 458.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008712/0.3303, allocations: 219.7 kB / 459.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.3314, allocations: 466.8 kB / 459.6 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-05/0.3314, allocations: 31.98 kB / 459.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007227/0.3387, allocations: 7.97 MB / 467.6 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3387, allocations: 7.938 kB / 467.6 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03151/0.3702, allocations: 23.94 MB / 491.5 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007123/0.371, allocations: 406.8 kB / 491.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.3712, allocations: 31.98 kB / 491.9 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008305/0.372, allocations: 79.91 kB / 492 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/0.3722, allocations: 104.8 kB / 492.1 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.3723, allocations: 39.98 kB / 492.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001424/0.3737, allocations: 1.07 MB / 493.2 MB, free: 6.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.843e-06/0.3738, allocations: 0 / 493.2 MB, free: 6.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001911/0.3757, allocations: 0.6678 MB / 493.9 MB, free: 5.902 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (108): * Single equations (assignments): 104 * 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,12,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.0003285/0.376, allocations: 199.2 kB / 494.1 MB, free: 5.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00326/0.3793, allocations: 2.27 MB / 496.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3793, allocations: 4.062 kB / 496.4 MB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.3814, allocations: 1.477 MB / 497.8 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.3833, allocations: 446.3 kB / 498.3 MB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00901/0.3923, allocations: 7.206 MB / 0.4936 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.3938, allocations: 1.911 MB / 0.4955 GB, free: 8.102 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001241/0.3951, allocations: 406.8 kB / 0.4959 GB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.3954, allocations: 135.4 kB / 0.496 GB, free: 7.57 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3954, allocations: 0 / 0.496 GB, free: 7.57 MB / 394.7 MB Notification: Performance of Templates: time 0.1787/0.5742, allocations: 30.55 MB / 0.5259 GB, free: 108.2 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches