Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 183 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.177/1.177, allocations: 205.1 MB / 223.7 MB, free: 8.508 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.0009321/0.0009321, allocations: 107.9 kB / 271.2 MB, free: 8.457 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007966/0.0007967, allocations: 47.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1864, allocations: 46.61 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.008061/0.1945, allocations: 9.577 MB / 383.4 MB, free: 38.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004009/0.1986, allocations: 3.042 MB / 386.5 MB, free: 35.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006164/0.1992, allocations: 43.47 kB / 386.5 MB, free: 35.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.2003, allocations: 0.5476 MB / 387 MB, free: 35.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.2016, allocations: 0.6644 MB / 387.7 MB, free: 34.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.2021, allocations: 338.1 kB / 388 MB, free: 34.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.2039, allocations: 2.785 MB / 390.8 MB, free: 32.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.2051, allocations: 1.422 MB / 392.2 MB, free: 31.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000783/0.2059, allocations: 0.9456 MB / 393.2 MB, free: 30.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009505/0.2068, allocations: 1.269 MB / 394.5 MB, free: 28.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002214/0.2071, allocations: 180 kB / 394.6 MB, free: 28.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00046/0.2075, allocations: 283.7 kB / 394.9 MB, free: 28.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004107/0.208, allocations: 0.6659 MB / 395.6 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000721/0.2087, allocations: 1.166 MB / 396.7 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.2104, allocations: 3.505 MB / 400.2 MB, free: 22.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2104, allocations: 4 kB / 400.2 MB, free: 22.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2104, allocations: 4 kB / 400.3 MB, free: 22.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.2104, allocations: 0 / 400.3 MB, free: 22.98 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003354/0.2138, allocations: 2.591 MB / 402.8 MB, free: 20.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.2138, allocations: 8.031 kB / 402.9 MB, free: 20.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004754/0.2143, allocations: 258.1 kB / 403.1 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.2159, allocations: 1.252 MB / 404.4 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.2159, allocations: 140.2 kB / 404.5 MB, free: 18.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.2161, allocations: 204 kB / 404.7 MB, free: 18.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.2188, allocations: 2.422 MB / 407.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.2188, allocations: 7.906 kB / 407.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.219, allocations: 79.98 kB / 407.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.253e-05/0.219, allocations: 91.69 kB / 407.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.2214, allocations: 1.962 MB / 409.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008088/0.2294, allocations: 7.844 MB / 417.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.2306, allocations: 1.234 MB / 418.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.2319, allocations: 0.9439 MB / 419.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.2321, allocations: 122.1 kB / 419.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.2321, allocations: 43.56 kB / 419.4 MB, free: 3.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=95): time 2.484e-06/0.2321, allocations: 0 / 419.4 MB, free: 3.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=111): time 0.01032/0.2425, allocations: 5.863 MB / 425.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2425, allocations: 64.41 kB / 425.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.244, allocations: 1.309 MB / 426.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.2441, allocations: 41.7 kB / 426.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005343/0.2446, allocations: 0.916 MB / 427.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.2449, allocations: 394.4 kB / 428 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/0.2452, allocations: 247.4 kB / 428.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.2453, allocations: 357.9 kB / 428.6 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008467/0.2462, allocations: 0.6441 MB / 429.2 MB, free: 9.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.2472, allocations: 0.9925 MB / 430.2 MB, free: 8.176 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.2493, allocations: 1.743 MB / 432 MB, free: 6.285 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.2493, allocations: 4 kB / 432 MB, free: 6.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003217/0.2525, allocations: 2.245 MB / 434.2 MB, free: 4.012 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2525, allocations: 10.03 kB / 434.2 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.2525, allocations: 15.94 kB / 434.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.2536, allocations: 496.2 kB / 434.7 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009621/0.2546, allocations: 307.5 kB / 435 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005709/0.2603, allocations: 6.531 MB / 441.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009485/0.2613, allocations: 87.97 kB / 441.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.643e-05/0.2614, allocations: 56 kB / 441.7 MB, free: 12.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000836/0.2622, allocations: 0.5949 MB / 442.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.2624, allocations: 150.2 kB / 442.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.2655, allocations: 1.961 MB / 444.4 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.2655, allocations: 8 kB / 444.4 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2656, allocations: 7.984 kB / 444.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.2656, allocations: 7.984 kB / 444.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/0.2715, allocations: 4.148 MB / 448.6 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2716, allocations: 4 kB / 448.6 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007814/0.2724, allocations: 187.7 kB / 448.8 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.2737, allocations: 0.5392 MB / 449.3 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.809e-05/0.2738, allocations: 31.98 kB / 449.3 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006787/0.2806, allocations: 8.032 MB / 457.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2806, allocations: 4.031 kB / 457.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03163/0.3122, allocations: 24.44 MB / 481.8 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/0.3129, allocations: 351.2 kB / 482.2 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.313, allocations: 36.53 kB / 482.2 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007006/0.3137, allocations: 67.92 kB / 482.3 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.314, allocations: 92.97 kB / 482.4 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.554e-05/0.314, allocations: 39.94 kB / 482.4 MB, free: 1.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.3151, allocations: 0.8878 MB / 483.3 MB, free: 1.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3152, allocations: 0 / 483.3 MB, free: 1.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001736/0.3169, allocations: 0.6211 MB / 483.9 MB, free: 416 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0002853/0.3172, allocations: 175.7 kB / 484.1 MB, free: 228 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.32, allocations: 2.22 MB / 486.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.32, allocations: 0 / 486.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001973/0.322, allocations: 1.51 MB / 487.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.3236, allocations: 396.9 kB / 488.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007854/0.3314, allocations: 6.467 MB / 494.7 MB, free: 5.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.3327, allocations: 1.686 MB / 496.4 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001039/0.3337, allocations: 336.8 kB / 496.7 MB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.334, allocations: 103.4 kB / 496.8 MB, free: 3.203 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3341, allocations: 4 kB / 496.8 MB, free: 3.199 MB / 378.7 MB Notification: Performance of Templates: time 0.1719/0.506, allocations: 28.93 MB / 0.5134 GB, free: 114.8 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches