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/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.SMPM_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_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.001274/0.001274, allocations: 114 kB / 17.74 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.001936/0.001936, allocations: 183.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.342/1.342, 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.001779/0.001779, allocations: 51.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09209, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.1739/0.2661, allocations: 10.26 MB / 384.9 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006126/0.2722, allocations: 3.487 MB / 388.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.2742, allocations: 48.34 kB / 388.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002224/0.2765, allocations: 0.7709 MB / 389.2 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.2799, allocations: 0.8313 MB / 390.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.2815, allocations: 418.4 kB / 390.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004725/0.2862, allocations: 2.76 MB / 393.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003679/0.2899, allocations: 2.37 MB / 395.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.2923, allocations: 1.252 MB / 396.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002976/0.2953, allocations: 1.575 MB / 398.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008495/0.2962, allocations: 340.8 kB / 398.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.2976, allocations: 437.4 kB / 399.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.2988, allocations: 0.9394 MB / 400.1 MB, free: 264 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002714/0.3016, allocations: 1.508 MB / 401.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007547/0.3091, allocations: 4.398 MB / 406 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3092, allocations: 0 / 406 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3092, allocations: 0 / 406 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001362/0.3093, allocations: 0 / 406 MB, free: 12.71 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008473/0.3178, allocations: 3.122 MB / 409.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3179, allocations: 9.5 kB / 409.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005857/0.3185, allocations: 326.4 kB / 409.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.3195, allocations: 324.7 kB / 409.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/0.3226, allocations: 1.542 MB / 411.3 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.3228, allocations: 170.7 kB / 411.5 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004234/0.3232, allocations: 220.4 kB / 411.7 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005306/0.3285, allocations: 2.918 MB / 414.6 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.387e-05/0.3286, allocations: 2.469 kB / 414.6 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.3288, allocations: 92.88 kB / 414.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/0.329, allocations: 110.7 kB / 414.8 MB, free: 7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004592/0.3336, allocations: 2.434 MB / 417.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/0.3492, allocations: 9.054 MB / 426.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.3518, allocations: 1.699 MB / 428 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.3537, allocations: 0.9722 MB / 429 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003341/0.3541, allocations: 207.2 kB / 429.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.3541, allocations: 51.5 kB / 429.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 3.076e-06/0.3541, allocations: 3.938 kB / 429.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01549/0.3696, allocations: 6.579 MB / 435.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.3697, allocations: 64.41 kB / 435.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.3726, allocations: 1.561 MB / 437.5 MB, free: 324 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.3727, allocations: 45.7 kB / 437.5 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.3738, allocations: 1.134 MB / 438.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004839/0.3743, allocations: 452.2 kB / 439.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005314/0.3748, allocations: 275.5 kB / 439.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.375, allocations: 301.1 kB / 439.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.3763, allocations: 0.7144 MB / 440.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.378, allocations: 1.135 MB / 441.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/0.3812, allocations: 1.968 MB / 443.5 MB, free: 9.914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.3812, allocations: 4 kB / 443.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004853/0.3861, allocations: 2.527 MB / 446 MB, free: 7.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.3861, allocations: 8 kB / 446 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.3862, allocations: 16 kB / 446 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.3872, allocations: 419.2 kB / 446.4 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.3886, allocations: 351.4 kB / 446.8 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008141/0.3968, allocations: 7.125 MB / 453.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.3983, allocations: 111.8 kB / 454 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.3986, allocations: 64 kB / 454.1 MB, free: 14.84 MB / 382.1 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.001504/0.4001, allocations: 0.7203 MB / 454.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005166/0.4006, allocations: 182.9 kB / 455 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004344/0.405, allocations: 2.178 MB / 457.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.405, allocations: 16 kB / 457.2 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.405, allocations: 4 kB / 457.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.405, allocations: 7.922 kB / 457.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009303/0.4143, allocations: 4.777 MB / 461.9 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.4144, allocations: 4 kB / 461.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009813/0.4154, allocations: 227.6 kB / 462.2 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.4166, allocations: 456.3 kB / 462.6 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.4168, allocations: 39.98 kB / 462.7 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009393/0.4262, allocations: 8.673 MB / 471.3 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.4262, allocations: 4 kB / 471.3 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/0.4319, allocations: 3.231 MB / 474.6 MB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.4329, allocations: 411.8 kB / 475 MB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004506/0.4334, allocations: 35.98 kB / 475 MB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.4345, allocations: 83.91 kB / 475.1 MB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/0.4348, allocations: 100.8 kB / 475.2 MB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.815e-05/0.4349, allocations: 39.98 kB / 475.2 MB, free: 8.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001965/0.4369, allocations: 1.074 MB / 476.3 MB, free: 7.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4369, allocations: 3.938 kB / 476.3 MB, free: 7.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001993/0.4389, allocations: 484.1 kB / 476.8 MB, free: 7.234 MB / 398.1 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.006217/0.4451, allocations: 3.876 MB / 480.6 MB, free: 3.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004233/0.4494, allocations: 2.296 MB / 482.9 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.4494, allocations: 5.875 kB / 482.9 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002723/0.4522, allocations: 1.473 MB / 484.4 MB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/0.455, allocations: 487.1 kB / 484.9 MB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03268/0.4877, allocations: 17.94 MB / 0.491 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/0.4899, allocations: 1.875 MB / 0.4929 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001307/0.4912, allocations: 390.8 kB / 0.4933 GB, free: 9.875 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/0.4926, allocations: 0.8742 MB / 0.4941 GB, free: 9 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4926, allocations: 0 / 0.4941 GB, free: 9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.5941, allocations: 45.11 MB / 0.5382 GB, free: 11.76 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.31, allocations: 11.98 kB / 0.5382 GB, free: 11.75 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter.fmu > 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/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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