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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 110.5 kB / 17.73 MB, free: 5.355 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.001115/0.001115, allocations: 187.1 kB / 18.66 MB, free: 4.434 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.32/1.32, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001265/0.001265, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/0.08866, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.1886/0.2773, allocations: 9.587 MB / 384.2 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005724/0.2831, allocations: 3.155 MB / 387.4 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.2846, allocations: 53.53 kB / 387.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.2865, allocations: 0.6621 MB / 388.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.2891, allocations: 0.7633 MB / 388.9 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.2902, allocations: 396 kB / 389.3 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002956/0.2931, allocations: 2.549 MB / 391.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.2956, allocations: 2.297 MB / 394.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.2978, allocations: 1.18 MB / 395.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002652/0.3004, allocations: 1.491 MB / 396.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006116/0.3011, allocations: 321.8 kB / 397.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.3022, allocations: 421.1 kB / 397.5 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.3032, allocations: 0.8968 MB / 398.4 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001932/0.3051, allocations: 1.421 MB / 399.8 MB, free: 464 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005269/0.3104, allocations: 4.146 MB / 404 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3105, allocations: 5.125 kB / 404 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3105, allocations: 0 / 404 MB, free: 14.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001188/0.3106, allocations: 0 / 404 MB, free: 14.27 MB / 334.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.007441/0.318, allocations: 2.898 MB / 406.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3181, allocations: 11.41 kB / 406.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005277/0.3186, allocations: 314.3 kB / 407.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009261/0.3196, allocations: 296.6 kB / 407.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/0.3227, allocations: 1.441 MB / 408.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.3229, allocations: 164.8 kB / 409.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000452/0.3234, allocations: 214.1 kB / 409.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005347/0.3287, allocations: 2.795 MB / 412.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.835e-05/0.3288, allocations: 3.156 kB / 412.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/0.329, allocations: 86.28 kB / 412.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.3291, allocations: 109.6 kB / 412.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004217/0.3333, allocations: 2.341 MB / 414.6 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.3473, allocations: 8.503 MB / 423.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.3497, allocations: 1.704 MB / 424.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.3514, allocations: 0.9596 MB / 425.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/0.3517, allocations: 207.2 kB / 426 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3518, allocations: 48.44 kB / 426 MB, free: 11.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.186e-06/0.3518, allocations: 0 / 426 MB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01307/0.3648, allocations: 6.103 MB / 432.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.3649, allocations: 64.41 kB / 432.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.367, allocations: 1.437 MB / 433.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.3672, allocations: 45.7 kB / 433.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/0.3678, allocations: 1.045 MB / 434.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003369/0.3682, allocations: 402.1 kB / 435.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/0.3686, allocations: 259.3 kB / 435.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3687, allocations: 357.9 kB / 435.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.3698, allocations: 0.6831 MB / 436.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.3711, allocations: 1.082 MB / 437.5 MB, free: 148 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.3736, allocations: 1.864 MB / 439.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.3737, allocations: 4 kB / 439.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003974/0.3777, allocations: 2.406 MB / 441.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.3777, allocations: 12 kB / 441.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.3777, allocations: 8 kB / 441.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000948/0.3787, allocations: 424.1 kB / 442.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.3799, allocations: 323.5 kB / 442.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006317/0.3862, allocations: 7.041 MB / 449.5 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.3877, allocations: 103.9 kB / 449.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.3878, allocations: 60.14 kB / 449.7 MB, free: 3.277 MB / 366.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.001263/0.3891, allocations: 0.6969 MB / 450.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/0.3895, allocations: 162 kB / 450.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/0.3933, allocations: 2.107 MB / 452.7 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.3933, allocations: 12 kB / 452.7 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.3933, allocations: 8 kB / 452.7 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.3933, allocations: 3.984 kB / 452.7 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008978/0.4023, allocations: 4.565 MB / 457.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.4024, allocations: 4 kB / 457.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009369/0.4033, allocations: 211.7 kB / 457.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.4045, allocations: 451.3 kB / 457.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.4046, allocations: 31.98 kB / 457.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007653/0.4123, allocations: 8.62 MB / 466.6 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4123, allocations: 11.88 kB / 466.6 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005286/0.4176, allocations: 3.103 MB / 469.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/0.4189, allocations: 383 kB / 470.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004967/0.4194, allocations: 31.98 kB / 470.1 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.4207, allocations: 83.84 kB / 470.2 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/0.421, allocations: 92.81 kB / 470.3 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.4211, allocations: 39.98 kB / 470.3 MB, free: 13.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002022/0.4231, allocations: 0.9847 MB / 471.3 MB, free: 12.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4232, allocations: 0 / 471.3 MB, free: 12.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00224/0.4254, allocations: 468.1 kB / 471.7 MB, free: 12.37 MB / 398.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.006162/0.4316, allocations: 3.748 MB / 475.5 MB, free: 8.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00394/0.4355, allocations: 2.218 MB / 477.7 MB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.4356, allocations: 1.938 kB / 477.7 MB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002497/0.4381, allocations: 1.446 MB / 479.1 MB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/0.441, allocations: 429.5 kB / 479.6 MB, free: 4.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02905/0.47, allocations: 16.85 MB / 496.4 MB, free: 2.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001785/0.4719, allocations: 1.799 MB / 498.2 MB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001121/0.473, allocations: 365.5 kB / 498.6 MB, free: 0.5625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/0.4742, allocations: 0.8157 MB / 499.4 MB, free: 15.74 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4742, allocations: 0 / 499.4 MB, free: 15.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/0.5942, allocations: 42.36 MB / 0.5291 GB, free: 5.262 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.5, allocations: 16.12 kB / 0.5291 GB, free: 5.242 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter.fmu > 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