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.001232/0.001232, allocations: 106.6 kB / 17.73 MB, free: 5.367 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.001218/0.001218, allocations: 187.1 kB / 18.66 MB, free: 4.445 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.346/1.346, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001438/0.001438, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.0924, allocations: 46.63 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.1813/0.2738, allocations: 9.581 MB / 384.2 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006626/0.2805, allocations: 3.153 MB / 387.4 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.2825, allocations: 49.06 kB / 387.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.2851, allocations: 0.6739 MB / 388.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003253/0.2883, allocations: 0.7554 MB / 388.9 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.29, allocations: 400 kB / 389.3 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003869/0.2939, allocations: 2.549 MB / 391.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004223/0.2981, allocations: 2.301 MB / 394.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.3018, allocations: 1.181 MB / 395.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004036/0.3059, allocations: 1.49 MB / 396.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.3078, allocations: 318.6 kB / 397.1 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.3107, allocations: 427.8 kB / 397.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002162/0.3129, allocations: 0.8905 MB / 398.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004168/0.3171, allocations: 1.424 MB / 399.8 MB, free: 448 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006613/0.3237, allocations: 4.144 MB / 404 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3238, allocations: 5.062 kB / 404 MB, free: 14.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3238, allocations: 0 / 404 MB, free: 14.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001596/0.324, allocations: 0 / 404 MB, free: 14.26 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.009553/0.3335, allocations: 2.899 MB / 406.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3336, allocations: 10.91 kB / 406.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009642/0.3346, allocations: 317.4 kB / 407.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.3359, allocations: 290 kB / 407.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/0.3397, allocations: 1.44 MB / 408.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.3399, allocations: 166.4 kB / 409.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007949/0.3407, allocations: 217 kB / 409.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006426/0.3471, allocations: 2.788 MB / 412.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.209e-05/0.3473, allocations: 10.58 kB / 412.1 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.3475, allocations: 86.62 kB / 412.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/0.3477, allocations: 104.2 kB / 412.3 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004787/0.3525, allocations: 2.347 MB / 414.6 MB, free: 7.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/0.3685, allocations: 8.496 MB / 423.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.3714, allocations: 1.708 MB / 424.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.3732, allocations: 0.9595 MB / 425.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004329/0.3737, allocations: 207.2 kB / 426 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.3737, allocations: 48.44 kB / 426 MB, free: 11.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 4.047e-06/0.3738, allocations: 0 / 426 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01526/0.389, allocations: 6.106 MB / 432.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.3891, allocations: 60.41 kB / 432.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/0.3919, allocations: 1.441 MB / 433.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.3921, allocations: 45.7 kB / 433.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007579/0.3929, allocations: 1.033 MB / 434.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004244/0.3933, allocations: 414.1 kB / 435.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004427/0.3937, allocations: 255.4 kB / 435.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3939, allocations: 357.9 kB / 435.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.3951, allocations: 0.687 MB / 436.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.3965, allocations: 1.074 MB / 437.5 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/0.3991, allocations: 1.86 MB / 439.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.3991, allocations: 4 kB / 439.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004275/0.4034, allocations: 2.41 MB / 441.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.4035, allocations: 12 kB / 441.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.4035, allocations: 12 kB / 441.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009624/0.4045, allocations: 416 kB / 442.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.4057, allocations: 327.5 kB / 442.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007565/0.4132, allocations: 7.049 MB / 449.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.4154, allocations: 99.94 kB / 449.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003803/0.4158, allocations: 63.98 kB / 449.7 MB, free: 3.273 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.001947/0.4178, allocations: 0.6853 MB / 450.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007159/0.4185, allocations: 162 kB / 450.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00445/0.4229, allocations: 2.119 MB / 452.7 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.423, allocations: 12 kB / 452.7 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.423, allocations: 8 kB / 452.7 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.423, allocations: 3.984 kB / 452.7 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009257/0.4323, allocations: 4.557 MB / 457.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.4324, allocations: 7.984 kB / 457.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009184/0.4333, allocations: 211.7 kB / 457.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.4344, allocations: 447.2 kB / 457.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.4346, allocations: 31.98 kB / 457.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008491/0.4431, allocations: 8.621 MB / 466.6 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.954e-06/0.4431, allocations: 7.938 kB / 466.6 MB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005304/0.4484, allocations: 3.107 MB / 469.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.4496, allocations: 383 kB / 470 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005663/0.4502, allocations: 28 kB / 470.1 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.4515, allocations: 87.83 kB / 470.2 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/0.4518, allocations: 96.81 kB / 470.3 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.4519, allocations: 32 kB / 470.3 MB, free: 13.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002157/0.4541, allocations: 0.9886 MB / 471.3 MB, free: 12.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4541, allocations: 0 / 471.3 MB, free: 12.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002533/0.4567, 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.00624/0.4629, allocations: 3.749 MB / 475.5 MB, free: 8.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003993/0.4669, allocations: 2.226 MB / 477.7 MB, free: 6.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.467, allocations: 0 / 477.7 MB, free: 6.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002371/0.4693, allocations: 1.448 MB / 479.2 MB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/0.4724, allocations: 415.9 kB / 479.6 MB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02995/0.5024, allocations: 16.86 MB / 496.4 MB, free: 2.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/0.5045, allocations: 1.807 MB / 498.2 MB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001248/0.5058, allocations: 361.6 kB / 498.6 MB, free: 0.5547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/0.507, allocations: 0.8157 MB / 499.4 MB, free: 15.73 MB / 430.1 MB Notification: Performance of SimCode: time 9.01e-07/0.507, allocations: 0 / 499.4 MB, free: 15.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09784/0.6049, allocations: 42.35 MB / 0.5291 GB, free: 5.266 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.34, allocations: 12.19 kB / 0.5291 GB, free: 5.25 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