Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.001077, allocations: 95.94 kB / 17.96 MB, free: 5.629 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.001361/0.001362, allocations: 176.2 kB / 18.86 MB, free: 4.777 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.971/1.971, allocations: 205.4 MB / 225 MB, free: 13.07 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.000517/0.000517, allocations: 12 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1549, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01605/0.171, allocations: 12.1 MB / 341.7 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.1835, allocations: 4.157 MB / 345.9 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.1874, allocations: 59.69 kB / 345.9 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003616/0.191, allocations: 0.8392 MB / 346.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005546/0.1966, allocations: 1.084 MB / 347.9 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1982, allocations: 475.5 kB / 348.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008749/0.207, allocations: 5.362 MB / 353.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004661/0.2117, allocations: 2.938 MB / 356.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005869/0.2175, allocations: 1.598 MB / 358.2 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005/0.2226, allocations: 2.182 MB / 360.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008166/0.2234, allocations: 248 kB / 360.6 MB, free: 4.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.2246, allocations: 343.8 kB / 361 MB, free: 4.207 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.226, allocations: 1.145 MB / 362.1 MB, free: 3.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002998/0.229, allocations: 2.085 MB / 364.2 MB, free: 0.957 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007092/0.2361, allocations: 6.003 MB / 370.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.2361, allocations: 4 kB / 370.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.839e-06/0.2361, allocations: 0 / 370.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002606/0.2364, allocations: 0 / 370.2 MB, free: 10.93 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009704/0.2461, allocations: 3.947 MB / 374.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.2462, allocations: 8.031 kB / 374.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.2479, allocations: 0.4995 MB / 374.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004428/0.2523, allocations: 2.384 MB / 377.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.2526, allocations: 271 kB / 377.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005625/0.2531, allocations: 347.9 kB / 377.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3826/0.6357, allocations: 5.028 MB / 382.7 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.6359, allocations: 8.953 kB / 382.7 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005053/0.6364, allocations: 145.5 kB / 382.8 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003518/0.6368, allocations: 180.3 kB / 383 MB, free: 46.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/0.6477, allocations: 4.319 MB / 387.3 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03035/0.6781, allocations: 15 MB / 402.3 MB, free: 36.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004413/0.6826, allocations: 4.209 MB / 406.5 MB, free: 32.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/0.6858, allocations: 2.008 MB / 408.5 MB, free: 31.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/0.6862, allocations: 135.2 kB / 408.7 MB, free: 31.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.272e-05/0.6863, allocations: 55.38 kB / 408.7 MB, free: 31.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 5.12e-06/0.6863, allocations: 4 kB / 408.7 MB, free: 31.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.02019/0.7065, allocations: 10.13 MB / 418.9 MB, free: 22.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.7066, allocations: 77.41 kB / 418.9 MB, free: 21.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/0.7099, allocations: 2.503 MB / 421.4 MB, free: 19.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.7101, allocations: 67.2 kB / 421.5 MB, free: 19.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008899/0.711, allocations: 1.618 MB / 423.1 MB, free: 17.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005076/0.7115, allocations: 0.7303 MB / 423.9 MB, free: 17.01 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.7118, allocations: 198.3 kB / 424 MB, free: 16.81 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.7119, allocations: 301.1 kB / 424.3 MB, free: 16.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.7136, allocations: 1.316 MB / 425.7 MB, free: 15.19 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.7154, allocations: 1.795 MB / 427.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/0.719, allocations: 3.235 MB / 430.7 MB, free: 9.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.719, allocations: 4 kB / 430.7 MB, free: 9.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006299/0.7253, allocations: 4.102 MB / 434.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.7253, allocations: 10.5 kB / 434.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.7254, allocations: 12 kB / 434.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002589/0.728, allocations: 0.8857 MB / 435.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.7298, allocations: 0.5305 MB / 436.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009777/0.7396, allocations: 8.748 MB / 445 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003156/0.7428, allocations: 135.9 kB / 445.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.743, allocations: 82.53 kB / 445.2 MB, free: 10.86 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002921/0.7459, allocations: 1.212 MB / 446.4 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007795/0.7467, allocations: 276.7 kB / 446.7 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006375/0.7531, allocations: 3.75 MB / 450.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.7532, allocations: 20 kB / 450.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.7532, allocations: 8 kB / 450.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.7532, allocations: 15.98 kB / 450.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.7671, allocations: 8.117 MB / 458.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.7671, allocations: 0 / 458.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.7688, allocations: 397.6 kB / 459 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003167/0.772, allocations: 0.9237 MB / 459.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/0.7721, allocations: 55.97 kB / 459.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.7838, allocations: 10.2 MB / 470.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.7839, allocations: 4 kB / 470.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.794, allocations: 5.552 MB / 475.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/0.7962, allocations: 0.6343 MB / 476.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003917/0.7966, allocations: 51.98 kB / 476.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.7981, allocations: 127.9 kB / 476.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004877/0.7986, allocations: 181.7 kB / 476.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.7987, allocations: 55.98 kB / 476.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003304/0.802, allocations: 1.731 MB / 478.5 MB, free: 8.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.307e-06/0.802, allocations: 0 / 478.5 MB, free: 8.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00348/0.8055, allocations: 0.8065 MB / 479.3 MB, free: 8.016 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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%), (3,25,88.9%), (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.0007196/0.8063, allocations: 253.3 kB / 479.5 MB, free: 7.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007069/0.8133, allocations: 3.897 MB / 483.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/0.8134, allocations: 4 kB / 483.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00397/0.8174, allocations: 2.488 MB / 485.9 MB, free: 1.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/0.8222, allocations: 0.7368 MB / 486.7 MB, free: 500 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.8374, allocations: 9.536 MB / 496.2 MB, free: 6.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/0.8401, allocations: 2.719 MB / 498.9 MB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.8412, allocations: 187.4 kB / 499.1 MB, free: 3.969 MB / 382.1 MB Notification: Performance of SimCode: time 2.625e-06/0.8412, allocations: 0 / 499.1 MB, free: 3.969 MB / 382.1 MB Notification: Performance of Templates: time 0.4761/1.317, allocations: 141.1 MB / 0.6252 GB, free: 73.75 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o] Error 1