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.001332/0.001332, allocations: 109.5 kB / 17.81 MB, free: 5.559 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.001574/0.001574, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.697/1.697, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001438/0.001438, allocations: 43.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1367, allocations: 46.63 MB / 327.3 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01645/0.1532, allocations: 12.7 MB / 340 MB, free: 8.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.1655, allocations: 4.2 MB / 344.2 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004399/0.1699, allocations: 63.69 kB / 344.2 MB, free: 3.859 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004286/0.1743, allocations: 0.8431 MB / 345.1 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006538/0.1809, allocations: 1.08 MB / 346.1 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.1828, allocations: 475.5 kB / 346.6 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008828/0.1916, allocations: 5.366 MB / 352 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004258/0.1959, allocations: 2.969 MB / 354.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004819/0.2007, allocations: 1.808 MB / 356.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005554/0.2063, allocations: 2.459 MB / 359.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.2074, allocations: 344 kB / 359.5 MB, free: 4.426 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.2094, allocations: 439.8 kB / 360 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.2109, allocations: 1.281 MB / 361.3 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003854/0.2148, allocations: 2.243 MB / 363.5 MB, free: 468 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007176/0.222, allocations: 6.157 MB / 369.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.222, allocations: 4 kB / 369.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.222, allocations: 0 / 369.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002676/0.2223, allocations: 0 / 369.7 MB, free: 10.28 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.01728/0.2396, allocations: 4.679 MB / 374.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.481e-05/0.2397, allocations: 8.031 kB / 374.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.2415, allocations: 0.4995 MB / 374.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00589/0.2474, allocations: 2.376 MB / 377.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/0.2477, allocations: 267 kB / 377.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006476/0.2484, allocations: 359.9 kB / 377.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3698/0.6182, allocations: 5.012 MB / 382.8 MB, free: 47.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.6183, allocations: 7.188 kB / 382.9 MB, free: 47.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004141/0.6188, allocations: 146.2 kB / 383 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002731/0.6191, allocations: 180.2 kB / 383.2 MB, free: 47.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.6299, allocations: 4.292 MB / 387.5 MB, free: 46.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02738/0.6573, allocations: 14.92 MB / 402.4 MB, free: 36.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.6615, allocations: 4.196 MB / 406.6 MB, free: 33.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002925/0.6645, allocations: 1.998 MB / 408.6 MB, free: 32.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.6647, allocations: 131.1 kB / 408.7 MB, free: 31.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.6648, allocations: 56.56 kB / 408.8 MB, free: 31.9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.719e-06/0.6648, allocations: 0 / 408.8 MB, free: 31.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01942/0.6842, allocations: 10.01 MB / 418.8 MB, free: 21.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.6844, allocations: 77.41 kB / 418.8 MB, free: 21.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005528/0.6899, allocations: 2.506 MB / 421.3 MB, free: 19.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002461/0.6902, allocations: 61.7 kB / 421.4 MB, free: 19.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.6914, allocations: 1.614 MB / 423 MB, free: 17.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006706/0.6921, allocations: 0.7386 MB / 423.8 MB, free: 16.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008455/0.6929, allocations: 416.3 kB / 424.2 MB, free: 16.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.693, allocations: 301.1 kB / 424.5 MB, free: 16.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/0.695, allocations: 1.304 MB / 425.8 MB, free: 14.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.6971, allocations: 1.782 MB / 427.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/0.7012, allocations: 3.218 MB / 430.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.492e-05/0.7013, allocations: 4 kB / 430.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007174/0.7085, allocations: 4.075 MB / 434.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.7086, allocations: 8.469 kB / 434.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.214e-05/0.7086, allocations: 20 kB / 434.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00287/0.7115, allocations: 0.8781 MB / 435.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/0.7136, allocations: 0.5226 MB / 436.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.7242, allocations: 8.735 MB / 445 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/0.7272, allocations: 119.8 kB / 445.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006316/0.7278, allocations: 88 kB / 445.2 MB, free: 10.48 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.003909/0.7317, allocations: 1.212 MB / 446.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/0.7331, allocations: 280.6 kB / 446.7 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008736/0.7419, allocations: 3.723 MB / 450.4 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/0.7419, allocations: 20 kB / 450.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.681e-05/0.742, allocations: 8 kB / 450.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/0.742, allocations: 11.91 kB / 450.5 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/0.7612, allocations: 8.097 MB / 458.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/0.7613, allocations: 4 kB / 458.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/0.7631, allocations: 383.8 kB / 458.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003421/0.7665, allocations: 0.9174 MB / 459.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/0.7668, allocations: 55.98 kB / 459.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/0.7803, allocations: 10.18 MB / 470.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.7804, allocations: 3.938 kB / 470.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/0.7922, allocations: 5.511 MB / 475.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002751/0.795, allocations: 0.6344 MB / 476.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/0.7963, allocations: 48 kB / 476.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/0.7988, allocations: 123.9 kB / 476.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007286/0.7995, allocations: 177.7 kB / 476.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000261/0.7998, allocations: 55.98 kB / 476.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005167/0.805, allocations: 1.739 MB / 478.4 MB, free: 8.574 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.805, allocations: 0 / 478.4 MB, free: 8.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005019/0.8101, allocations: 0.7955 MB / 479.2 MB, free: 7.781 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.001078/0.8112, allocations: 241 kB / 479.4 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008292/0.8195, allocations: 3.878 MB / 483.3 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.8195, allocations: 0 / 483.3 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004947/0.8245, allocations: 2.476 MB / 485.8 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00688/0.8314, allocations: 0.7527 MB / 486.5 MB, free: 300 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/0.855, allocations: 9.347 MB / 495.9 MB, free: 6.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003414/0.8584, allocations: 2.723 MB / 498.6 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/0.8599, allocations: 187.4 kB / 498.8 MB, free: 3.965 MB / 382.1 MB Notification: Performance of SimCode: time 1.794e-06/0.8599, allocations: 4 kB / 498.8 MB, free: 3.961 MB / 382.1 MB Notification: Performance of Templates: time 0.5048/1.365, allocations: 141.6 MB / 0.6254 GB, free: 42.18 MB / 414.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