Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01501/0.01501, allocations: 187.6 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 3.686/3.686, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001921/0.001921, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006468/0.0006469, allocations: 12 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2558, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.02136/0.2773, allocations: 7.777 MB / 382.3 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.2899, allocations: 3.038 MB / 385.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.2926, allocations: 43.75 kB / 385.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004003/0.2967, allocations: 0.5558 MB / 386 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005512/0.3022, allocations: 0.6503 MB / 386.6 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.3046, allocations: 255.6 kB / 386.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006724/0.3113, allocations: 1.674 MB / 388.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4781/0.7896, allocations: 1.487 MB / 390 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003769/0.7934, allocations: 0.8122 MB / 390.8 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005144/0.7987, allocations: 1.068 MB / 391.9 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.8004, allocations: 130.6 kB / 392 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.8033, allocations: 207.6 kB / 392.2 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003047/0.8064, allocations: 0.6365 MB / 392.9 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002536/0.8091, allocations: 499.8 kB / 393.4 MB, free: 9.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.8197, allocations: 3.286 MB / 396.6 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.8198, allocations: 1.031 kB / 396.6 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.45e-06/0.8199, allocations: 2.062 kB / 396.6 MB, free: 9.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000225/0.8201, allocations: 0 / 396.6 MB, free: 9.723 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.02336/0.8435, allocations: 2.48 MB / 399.1 MB, free: 8.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.979e-05/0.8436, allocations: 10.09 kB / 399.1 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/0.8469, allocations: 291.5 kB / 399.4 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01608/0.863, allocations: 1.399 MB / 400.8 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005448/0.8636, allocations: 166.8 kB / 401 MB, free: 7.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/0.8655, allocations: 212.4 kB / 401.2 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03369/0.8992, allocations: 2.771 MB / 404 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002489/0.8996, allocations: 6.703 kB / 404 MB, free: 7.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001331/0.9009, allocations: 87.84 kB / 404.1 MB, free: 7.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003424/0.9013, allocations: 107.6 kB / 404.2 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.9153, allocations: 2.352 MB / 406.5 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04012/0.9555, allocations: 8.6 MB / 415.1 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006717/0.9623, allocations: 1.71 MB / 416.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007443/0.9631, allocations: 205.6 kB / 417 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.848e-05/0.9633, allocations: 46.19 kB / 417.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=101): time 6.633e-06/0.9633, allocations: 0 / 417.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=116): time 0.03923/1.003, allocations: 6.084 MB / 423.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/1.003, allocations: 66.81 kB / 423.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005696/1.008, allocations: 1.386 MB / 424.6 MB, free: 8.832 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004829/1.009, allocations: 49.64 kB / 424.7 MB, free: 8.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001817/1.011, allocations: 0.9959 MB / 425.6 MB, free: 7.773 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001147/1.012, allocations: 407.3 kB / 426 MB, free: 7.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/1.012, allocations: 28 kB / 426.1 MB, free: 7.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003367/1.013, allocations: 362.8 kB / 426.4 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/1.017, allocations: 0.7027 MB / 427.1 MB, free: 6.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004565/1.021, allocations: 1.081 MB / 428.2 MB, free: 5.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004472/1.026, allocations: 0.8652 MB / 429.1 MB, free: 4.176 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.809e-05/1.026, allocations: 4 kB / 429.1 MB, free: 4.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.01222/1.038, allocations: 2.309 MB / 431.4 MB, free: 1.824 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.529e-05/1.038, allocations: 11.98 kB / 431.4 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.996e-05/1.038, allocations: 12 kB / 431.4 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/1.041, allocations: 395.1 kB / 431.8 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/1.045, allocations: 343.5 kB / 432.1 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01699/1.062, allocations: 6.375 MB / 438.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/1.066, allocations: 103.8 kB / 438.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006249/1.067, allocations: 60 kB / 438.7 MB, free: 10.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (160): * Single equations (assignments): 156 * 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: 3 * 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: 3 {(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003857/1.071, allocations: 0.6925 MB / 439.4 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.072, allocations: 154.1 kB / 439.5 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.084, allocations: 2.134 MB / 441.6 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.831e-05/1.084, allocations: 12 kB / 441.7 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.927e-05/1.084, allocations: 8 kB / 441.7 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.325e-05/1.084, allocations: 6.281 kB / 441.7 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02449/1.108, allocations: 4.544 MB / 446.2 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-05/1.109, allocations: 4.031 kB / 446.2 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003361/1.112, allocations: 227.7 kB / 446.4 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003519/1.116, allocations: 423.8 kB / 446.9 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004636/1.116, allocations: 31.98 kB / 446.9 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/1.136, allocations: 7.877 MB / 454.8 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-05/1.136, allocations: 4 kB / 454.8 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/1.152, allocations: 3.308 MB / 458.1 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/1.154, allocations: 375 kB / 458.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.155, allocations: 43.94 kB / 458.5 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003242/1.159, allocations: 83.91 kB / 458.6 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008329/1.16, allocations: 96.81 kB / 458.7 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003075/1.16, allocations: 35.98 kB / 458.7 MB, free: 5.207 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004535/1.164, allocations: 0.9418 MB / 459.6 MB, free: 4.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.603e-06/1.165, allocations: 4 kB / 459.6 MB, free: 4.262 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005372/1.17, allocations: 459.9 kB / 460.1 MB, free: 3.812 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (105): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 3,(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.0009983/1.171, allocations: 156.8 kB / 460.2 MB, free: 3.652 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01079/1.182, allocations: 2.222 MB / 462.5 MB, free: 1.371 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/1.182, allocations: 4 kB / 462.5 MB, free: 1.367 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00707/1.189, allocations: 1.45 MB / 463.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005683/1.195, allocations: 381.3 kB / 464.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/1.217, allocations: 5.374 MB / 469.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005112/1.222, allocations: 1.827 MB / 471.5 MB, free: 8.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.224, allocations: 119.4 kB / 471.6 MB, free: 8.078 MB / 346.7 MB Notification: Performance of SimCode: time 2.395e-06/1.224, allocations: 0 / 471.6 MB, free: 8.078 MB / 346.7 MB Notification: Performance of Templates: time 0.21/1.434, allocations: 65.04 MB / 0.5241 GB, free: 6.918 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches