Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009535, allocations: 96.64 kB / 16.94 MB, free: 5.98 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.001042/0.001042, allocations: 181.2 kB / 17.82 MB, free: 5.652 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.568/1.568, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004731/0.0004733, allocations: 19.94 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1184, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.01365/0.1322, allocations: 9.465 MB / 337.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009816/0.1421, allocations: 3.821 MB / 341.6 MB, free: 6.762 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.1452, allocations: 59.69 kB / 341.7 MB, free: 6.703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.1482, allocations: 0.7229 MB / 342.4 MB, free: 5.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.1527, allocations: 0.8451 MB / 343.2 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.155, allocations: 351.5 kB / 343.6 MB, free: 4.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006783/0.1618, allocations: 2.126 MB / 345.7 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006218/0.1681, allocations: 2.064 MB / 347.8 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.1718, allocations: 1.031 MB / 348.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00424/0.176, allocations: 1.397 MB / 350.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.1775, allocations: 164 kB / 350.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.1796, allocations: 247.7 kB / 350.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002436/0.182, allocations: 0.8607 MB / 351.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.184, allocations: 0.6328 MB / 352.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007082/0.1911, allocations: 4.367 MB / 356.5 MB, free: 7.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.619e-06/0.1912, allocations: 4 kB / 356.5 MB, free: 7.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1912, allocations: 0 / 356.5 MB, free: 7.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003105/0.1915, allocations: 0 / 356.5 MB, free: 7.836 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.01029/0.2018, allocations: 3.213 MB / 359.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.2019, allocations: 8.031 kB / 359.7 MB, free: 4.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/0.2045, allocations: 395.6 kB / 360.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005662/0.2102, allocations: 1.88 MB / 362 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.2105, allocations: 229.6 kB / 362.2 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/0.2117, allocations: 279.9 kB / 362.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.2234, allocations: 3.654 MB / 366.1 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/0.2236, allocations: 11.89 kB / 366.1 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007169/0.2243, allocations: 112 kB / 366.2 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/0.2245, allocations: 145.4 kB / 366.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007852/0.2324, allocations: 3.082 MB / 369.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3639/0.5964, allocations: 11.63 MB / 381.1 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004492/0.601, allocations: 1.901 MB / 383 MB, free: 45.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003929/0.6014, allocations: 206.2 kB / 383.2 MB, free: 45.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.6015, allocations: 51.59 kB / 383.2 MB, free: 45.03 MB / 318.1 MB Notification: Performance of pre-optimization done (n=125): time 5.4e-06/0.6015, allocations: 0 / 383.2 MB, free: 45.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=143): time 0.02149/0.623, allocations: 7.239 MB / 390.5 MB, free: 43.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.6231, allocations: 69.8 kB / 390.6 MB, free: 43.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00441/0.6275, allocations: 1.928 MB / 392.5 MB, free: 42.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.6278, allocations: 49.67 kB / 392.5 MB, free: 42.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001462/0.6292, allocations: 1.418 MB / 393.9 MB, free: 41.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005492/0.6298, allocations: 0.4891 MB / 394.4 MB, free: 40.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.6299, allocations: 34.97 kB / 394.5 MB, free: 40.94 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.6301, allocations: 379.1 kB / 394.8 MB, free: 40.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.6319, allocations: 0.8558 MB / 395.7 MB, free: 40.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.6341, allocations: 1.398 MB / 397.1 MB, free: 39.33 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.6358, allocations: 1.089 MB / 398.2 MB, free: 38.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.6358, allocations: 3.938 kB / 398.2 MB, free: 38.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.005902/0.6417, allocations: 2.96 MB / 401.1 MB, free: 37.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.6418, allocations: 12.62 kB / 401.2 MB, free: 37.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.6418, allocations: 18.94 kB / 401.2 MB, free: 37.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.6431, allocations: 0.5092 MB / 401.7 MB, free: 37.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.6446, allocations: 436.6 kB / 402.1 MB, free: 37.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007083/0.6517, allocations: 6.064 MB / 408.2 MB, free: 32.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.6544, allocations: 131.8 kB / 408.3 MB, free: 32.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/0.6547, allocations: 79.98 kB / 408.4 MB, free: 32.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (208): * Single equations (assignments): 205 * 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: 2 * 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: 2 {(5,76.0%) 17,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002561/0.6573, allocations: 0.9148 MB / 409.3 MB, free: 31.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008925/0.6582, allocations: 209.4 kB / 409.5 MB, free: 31.37 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.6625, allocations: 2.539 MB / 412 MB, free: 28.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.6625, allocations: 20 kB / 412.1 MB, free: 28.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.6626, allocations: 7.953 kB / 412.1 MB, free: 28.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.6626, allocations: 7.969 kB / 412.1 MB, free: 28.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.6729, allocations: 5.574 MB / 417.7 MB, free: 23.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.673, allocations: 0 / 417.7 MB, free: 23.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.6741, allocations: 259.9 kB / 417.9 MB, free: 22.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.6754, allocations: 0.5255 MB / 418.4 MB, free: 22.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.6755, allocations: 35.98 kB / 418.5 MB, free: 22.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00698/0.6825, allocations: 7.558 MB / 426 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.964e-06/0.6825, allocations: 7.938 kB / 426 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/0.6883, allocations: 3.875 MB / 429.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/0.6901, allocations: 474.3 kB / 430.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/0.6904, allocations: 43.88 kB / 430.4 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000994/0.6914, allocations: 91.89 kB / 430.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/0.6917, allocations: 101.1 kB / 430.6 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.602e-05/0.6918, allocations: 39.98 kB / 430.6 MB, free: 9.594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002159/0.6939, allocations: 1.307 MB / 431.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6939, allocations: 0 / 431.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002745/0.6967, allocations: 0.5536 MB / 432.5 MB, free: 7.715 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * 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 (123): * Single equations (assignments): 120 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,76.0%) 17,(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.0004507/0.6972, allocations: 156 kB / 432.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004066/0.7012, allocations: 2.547 MB / 435.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.7013, allocations: 0 / 435.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.7032, allocations: 1.504 MB / 436.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.7058, allocations: 0.4917 MB / 437.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.719, allocations: 6.762 MB / 444 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/0.7217, allocations: 2.271 MB / 446.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002301/0.724, allocations: 497.8 kB / 446.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004515/0.7245, allocations: 143.4 kB / 446.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of SimCode: time 1.884e-06/0.7245, allocations: 0 / 446.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of Templates: time 0.06038/0.7849, allocations: 28.06 MB / 474.9 MB, free: 13.11 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_VoltageSource/SMPM_VoltageSource.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches