Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001588/0.001588, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001076, allocations: 92.28 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.975e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3454, allocations: 47.57 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1795/0.5249, allocations: 103.2 MB / 465.6 MB, free: 15.03 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/0.5254, allocations: 87.94 kB / 465.7 MB, free: 14.95 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1878/0.7132, allocations: 40.85 MB / 0.4946 GB, free: 5.93 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.7133, allocations: 0 / 0.4946 GB, free: 5.93 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002328/0.7135, allocations: 51.94 kB / 0.4947 GB, free: 5.879 MB / 395.1 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.007709/0.7212, allocations: 1.984 MB / 0.4966 GB, free: 3.844 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.7213, allocations: 8.031 kB / 0.4966 GB, free: 3.836 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.7231, allocations: 269.1 kB / 0.4969 GB, free: 3.57 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005177/0.7283, allocations: 1.376 MB / 0.4982 GB, free: 2.137 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.7285, allocations: 60 kB / 0.4983 GB, free: 2.078 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008081/0.7293, allocations: 123.9 kB / 0.4984 GB, free: 1.957 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006598/0.7359, allocations: 1.734 MB / 0.5001 GB, free: 228 kB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3019/1.038, allocations: 2.099 MB / 0.5022 GB, free: 98.36 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/1.038, allocations: 6.844 kB / 0.5022 GB, free: 98.36 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/1.038, allocations: 1.969 kB / 0.5022 GB, free: 98.36 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/1.038, allocations: 83.91 kB / 0.5023 GB, free: 98.36 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02205/1.061, allocations: 7.456 MB / 0.5095 GB, free: 96.54 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00297/1.064, allocations: 1.319 MB / 0.5108 GB, free: 96.32 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/1.066, allocations: 0.8671 MB / 0.5117 GB, free: 96.3 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/1.067, allocations: 135 kB / 0.5118 GB, free: 96.2 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/1.067, allocations: 44.34 kB / 0.5118 GB, free: 96.16 MB / 395.1 MB Notification: Performance of pre-optimization done (n=111): time 3.877e-06/1.067, allocations: 1 kB / 0.5118 GB, free: 96.16 MB / 395.1 MB Notification: Performance of matching and sorting (n=127): time 0.01445/1.081, allocations: 4.218 MB / 0.516 GB, free: 95.48 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/1.081, allocations: 65.25 kB / 0.516 GB, free: 95.41 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/1.083, allocations: 0.8957 MB / 0.5169 GB, free: 95.27 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003218/1.084, allocations: 27.2 kB / 0.5169 GB, free: 95.23 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006389/1.084, allocations: 0.8695 MB / 0.5178 GB, free: 94.84 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006141/1.085, allocations: 424.9 kB / 0.5182 GB, free: 94.56 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.085, allocations: 1.562 kB / 0.5182 GB, free: 94.56 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/1.085, allocations: 369.2 kB / 0.5185 GB, free: 94.25 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/1.087, allocations: 0.6214 MB / 0.5191 GB, free: 94.25 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/1.089, allocations: 0.9328 MB / 0.52 GB, free: 93.64 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/1.091, allocations: 0.7742 MB / 0.5208 GB, free: 93.36 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/1.091, allocations: 0 / 0.5208 GB, free: 93.36 MB / 395.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005497/1.096, allocations: 2.059 MB / 0.5228 GB, free: 92.64 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/1.096, allocations: 7.812 kB / 0.5228 GB, free: 92.64 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/1.096, allocations: 11.09 kB / 0.5228 GB, free: 92.64 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/1.098, allocations: 494.4 kB / 0.5233 GB, free: 92.48 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/1.101, allocations: 332 kB / 0.5236 GB, free: 92.47 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008568/1.109, allocations: 6.335 MB / 0.5298 GB, free: 87.63 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/1.111, allocations: 60.23 kB / 0.5299 GB, free: 87.63 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/1.112, allocations: 57.31 kB / 0.5299 GB, free: 87.62 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003719/1.112, allocations: 142.8 kB / 0.5301 GB, free: 87.5 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004771/1.113, allocations: 136.3 kB / 0.5302 GB, free: 87.43 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00515/1.118, allocations: 1.966 MB / 0.5321 GB, free: 86.68 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/1.118, allocations: 13.06 kB / 0.5321 GB, free: 86.68 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/1.118, allocations: 11.27 kB / 0.5321 GB, free: 86.67 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.041e-05/1.118, allocations: 3.75 kB / 0.5321 GB, free: 86.67 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/1.129, allocations: 3.949 MB / 0.536 GB, free: 85.05 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/1.129, allocations: 4.953 kB / 0.536 GB, free: 85.05 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/1.131, allocations: 223.6 kB / 0.5362 GB, free: 85.05 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/1.133, allocations: 0.5447 MB / 0.5367 GB, free: 84.88 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002832/1.134, allocations: 13.14 kB / 0.5368 GB, free: 84.88 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/1.144, allocations: 7.843 MB / 0.5444 GB, free: 78.68 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/1.144, allocations: 3.844 kB / 0.5444 GB, free: 78.68 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006763/1.151, allocations: 3.034 MB / 0.5474 GB, free: 77.22 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.152, allocations: 357.2 kB / 0.5477 GB, free: 76.99 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004431/1.153, allocations: 13.73 kB / 0.5477 GB, free: 76.98 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.154, allocations: 54.3 kB / 0.5478 GB, free: 76.98 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003819/1.154, allocations: 105.7 kB / 0.5479 GB, free: 76.96 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.155, allocations: 35.92 kB / 0.5479 GB, free: 76.95 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001386/1.156, allocations: 0.6745 MB / 0.5486 GB, free: 76.64 MB / 395.1 MB Notification: Performance of sort global known variables: time 8.01e-07/1.156, allocations: 0 / 0.5486 GB, free: 76.64 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002552/1.159, allocations: 408.6 kB / 0.549 GB, free: 76.64 MB / 395.1 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 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007907/1.159, allocations: 281.8 kB / 0.5492 GB, free: 76.53 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004775/1.164, allocations: 2.201 MB / 0.5514 GB, free: 75.38 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/1.164, allocations: 2.375 kB / 0.5514 GB, free: 75.38 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003374/1.168, allocations: 1.515 MB / 0.5529 GB, free: 74.48 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/1.171, allocations: 299.2 kB / 0.5532 GB, free: 74.4 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009077/1.18, allocations: 3.425 MB / 0.5565 GB, free: 72.8 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/1.182, allocations: 1.69 MB / 0.5581 GB, free: 71.92 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007113/1.182, allocations: 101.5 kB / 0.5582 GB, free: 71.91 MB / 395.1 MB Notification: Performance of SimCode: time 1.172e-06/1.182, allocations: 0 / 0.5582 GB, free: 71.91 MB / 395.1 MB Notification: Performance of Templates: time 0.1409/1.323, allocations: 66.63 MB / 0.6233 GB, free: 12.5 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches