Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009513/0.0009513, allocations: 88.61 kB / 17.58 MB, free: 5.754 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.0009864/0.0009865, allocations: 179.5 kB / 18.47 MB, free: 5.207 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.944/1.944, allocations: 205.4 MB / 224.6 MB, free: 13.05 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.0004795/0.0004796, allocations: 8 kB / 281.4 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 47.58 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.009448/0.1113, allocations: 8.267 MB / 337.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.1172, allocations: 2.846 MB / 340.1 MB, free: 8.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.1185, allocations: 35.81 kB / 340.1 MB, free: 8.863 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.1203, allocations: 0.5049 MB / 340.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.1228, allocations: 0.6682 MB / 341.3 MB, free: 7.684 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.1237, allocations: 231.6 kB / 341.5 MB, free: 7.457 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004584/0.1283, allocations: 2.782 MB / 344.3 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.131, allocations: 1.339 MB / 345.7 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.1332, allocations: 0.9027 MB / 346.6 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/0.1362, allocations: 1.237 MB / 347.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007726/0.137, allocations: 136 kB / 347.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.1384, allocations: 203.8 kB / 348.1 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001231/0.1396, allocations: 0.6814 MB / 348.8 MB, free: 128 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.1409, allocations: 0.4888 MB / 349.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.1449, allocations: 3.265 MB / 352.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1449, allocations: 0 / 352.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.709e-06/0.1449, allocations: 0 / 352.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.555e-05/0.145, allocations: 7.938 kB / 352.6 MB, free: 12.35 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005277/0.1503, allocations: 2.444 MB / 355 MB, free: 9.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1504, allocations: 12.03 kB / 355 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007913/0.1512, allocations: 292.7 kB / 355.3 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.1536, allocations: 1.383 MB / 356.7 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.1538, allocations: 160 kB / 356.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003329/0.1541, allocations: 207.8 kB / 357.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00489/0.159, allocations: 2.724 MB / 359.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/0.1591, allocations: 7.906 kB / 359.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.1593, allocations: 80 kB / 359.9 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.1594, allocations: 95.92 kB / 360 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004358/0.1638, allocations: 2.33 MB / 362.3 MB, free: 2.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.1755, allocations: 8.458 MB / 370.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.1775, allocations: 1.78 MB / 372.5 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.1792, allocations: 1.065 MB / 373.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.1794, allocations: 126.1 kB / 373.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1795, allocations: 43.5 kB / 373.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.645e-06/0.1795, allocations: 0 / 373.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01233/0.1918, allocations: 6.387 MB / 380.1 MB, free: 32 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1735/0.3654, allocations: 65.88 kB / 380.2 MB, free: 51.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/0.3681, allocations: 1.501 MB / 381.7 MB, free: 51.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002986/0.3684, allocations: 45.14 kB / 381.8 MB, free: 51.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008195/0.3692, allocations: 0.988 MB / 382.7 MB, free: 51.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004392/0.3697, allocations: 417.9 kB / 383.2 MB, free: 50.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.3698, allocations: 25.84 kB / 383.2 MB, free: 50.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3699, allocations: 357.5 kB / 383.5 MB, free: 50.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.3712, allocations: 0.7377 MB / 384.3 MB, free: 50.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.3726, allocations: 1.061 MB / 385.3 MB, free: 49.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.3741, allocations: 0.885 MB / 386.2 MB, free: 49.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.3741, allocations: 2.719 kB / 386.2 MB, free: 49.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005537/0.3797, allocations: 2.359 MB / 388.6 MB, free: 48.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.3797, allocations: 8.312 kB / 388.6 MB, free: 48.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.3798, allocations: 10.06 kB / 388.6 MB, free: 48.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.3812, allocations: 411.4 kB / 389 MB, free: 48.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.3831, allocations: 329.8 kB / 389.3 MB, free: 48.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006723/0.3898, allocations: 4.649 MB / 394 MB, free: 44.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.392, allocations: 94.64 kB / 394.1 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003479/0.3923, allocations: 56.14 kB / 394.1 MB, free: 44.61 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00227/0.3946, allocations: 0.703 MB / 394.8 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007105/0.3954, allocations: 160.8 kB / 395 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006078/0.4014, allocations: 2.155 MB / 397.1 MB, free: 43.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.4015, allocations: 15.05 kB / 397.1 MB, free: 43.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.523e-05/0.4015, allocations: 4 kB / 397.1 MB, free: 43.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.4016, allocations: 9.047 kB / 397.2 MB, free: 43.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.4129, allocations: 4.587 MB / 401.7 MB, free: 40.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.4129, allocations: 0 / 401.7 MB, free: 40.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.4142, allocations: 234.3 kB / 402 MB, free: 40.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.4154, allocations: 459.6 kB / 402.4 MB, free: 40.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.4155, allocations: 35.62 kB / 402.4 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004798/0.4203, allocations: 6.152 MB / 408.6 MB, free: 34.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.4204, allocations: 7.969 kB / 408.6 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004747/0.4251, allocations: 3.198 MB / 411.8 MB, free: 31.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.4262, allocations: 395 kB / 412.2 MB, free: 30.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005227/0.4267, allocations: 31.98 kB / 412.2 MB, free: 30.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.4278, allocations: 91.84 kB / 412.3 MB, free: 30.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.428, allocations: 100.8 kB / 412.4 MB, free: 30.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-05/0.4281, allocations: 39.94 kB / 412.5 MB, free: 30.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001765/0.4299, allocations: 1.036 MB / 413.5 MB, free: 29.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4299, allocations: 0 / 413.5 MB, free: 29.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001985/0.4319, allocations: 462.8 kB / 413.9 MB, free: 29.2 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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: 3 * 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: 3 {(2,100.0%) 12,(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.0003148/0.4322, allocations: 147.7 kB / 414.1 MB, free: 29.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.4356, allocations: 2.281 MB / 416.4 MB, free: 26.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4356, allocations: 0 / 416.4 MB, free: 26.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.4375, allocations: 1.496 MB / 417.9 MB, free: 25.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.44, allocations: 434.9 kB / 418.3 MB, free: 24.72 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008356/0.4483, allocations: 5.341 MB / 423.6 MB, free: 19.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.4501, allocations: 1.803 MB / 425.4 MB, free: 17.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006479/0.4507, allocations: 115.4 kB / 425.5 MB, free: 17.37 MB / 318.1 MB Notification: Performance of SimCode: time 3.386e-06/0.4508, allocations: 0 / 425.5 MB, free: 17.37 MB / 318.1 MB Notification: Performance of Templates: time 0.09389/0.5447, allocations: 69.54 MB / 495.1 MB, free: 11.69 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOLCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOLCalcHelperMain.o] Error 1