Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001089/0.001089, allocations: 190 kB / 18.72 MB, free: 4.781 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.775/1.775, allocations: 205.1 MB / 224.6 MB, free: 12.4 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.001418/0.001418, allocations: 59.92 kB / 280.6 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1761, allocations: 46.63 MB / 327.3 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01946/0.1957, allocations: 11.66 MB / 338.9 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.2088, allocations: 3.768 MB / 342.7 MB, free: 5.363 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005298/0.2142, allocations: 55.75 kB / 342.7 MB, free: 5.309 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005136/0.2195, allocations: 0.7498 MB / 343.5 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007003/0.2265, allocations: 1.003 MB / 344.5 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.229, allocations: 447.6 kB / 344.9 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.2392, allocations: 4.905 MB / 349.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007028/0.2463, allocations: 2.662 MB / 352.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005295/0.2517, allocations: 1.607 MB / 354.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006768/0.2585, allocations: 2.226 MB / 356.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002444/0.261, allocations: 300 kB / 356.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/0.2645, allocations: 411.8 kB / 357 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00391/0.2685, allocations: 1.192 MB / 358.2 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008574/0.2771, allocations: 1.975 MB / 360.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.2874, allocations: 5.421 MB / 365.6 MB, free: 14.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.629e-05/0.2875, allocations: 0 / 365.6 MB, free: 14.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.795e-06/0.2875, allocations: 4 kB / 365.6 MB, free: 14.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004644/0.288, allocations: 3.938 kB / 365.6 MB, free: 14.29 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.02189/0.3099, allocations: 4.294 MB / 369.9 MB, free: 9.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001008/0.31, allocations: 8.031 kB / 369.9 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/0.3125, allocations: 440 kB / 370.4 MB, free: 9.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00685/0.3194, allocations: 2.227 MB / 372.6 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004769/0.3199, allocations: 234.1 kB / 372.8 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/0.3215, allocations: 307.8 kB / 373.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01765/0.3392, allocations: 4.365 MB / 377.5 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/0.3394, allocations: 4 kB / 377.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005097/0.3399, allocations: 128 kB / 377.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001951/0.3401, allocations: 134 kB / 377.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3584/0.6985, allocations: 3.775 MB / 381.5 MB, free: 49.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03903/0.7376, allocations: 13.55 MB / 395.1 MB, free: 41.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004339/0.742, allocations: 2.9 MB / 398 MB, free: 39.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003278/0.7453, allocations: 1.679 MB / 399.6 MB, free: 38.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.7456, allocations: 129.8 kB / 399.8 MB, free: 38.87 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/0.7457, allocations: 51.75 kB / 399.8 MB, free: 38.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.869e-06/0.7457, allocations: 0 / 399.8 MB, free: 38.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.02016/0.7659, allocations: 9.213 MB / 409 MB, free: 32.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.766, allocations: 69.41 kB / 409.1 MB, free: 32.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00459/0.7706, allocations: 2.361 MB / 411.5 MB, free: 29.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004607/0.7711, allocations: 61.31 kB / 411.5 MB, free: 29.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.7723, allocations: 1.466 MB / 413 MB, free: 28.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008731/0.7732, allocations: 0.6039 MB / 413.6 MB, free: 27.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006837/0.7739, allocations: 363.3 kB / 413.9 MB, free: 27.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.7741, allocations: 305.1 kB / 414.2 MB, free: 26.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.7759, allocations: 1.124 MB / 415.4 MB, free: 25.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.7781, allocations: 1.567 MB / 416.9 MB, free: 24.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/0.7819, allocations: 2.793 MB / 419.7 MB, free: 21.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-05/0.782, allocations: 4 kB / 419.7 MB, free: 21.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005814/0.7878, allocations: 3.593 MB / 423.3 MB, free: 17.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.7879, allocations: 8 kB / 423.3 MB, free: 17.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.7879, allocations: 12 kB / 423.3 MB, free: 17.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/0.7898, allocations: 0.809 MB / 424.1 MB, free: 16.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.7914, allocations: 459.3 kB / 424.6 MB, free: 16.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00956/0.801, allocations: 10.27 MB / 434.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/0.8043, allocations: 131.8 kB / 435 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006706/0.805, allocations: 75.98 kB / 435.1 MB, free: 5.055 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004103/0.8091, allocations: 1.095 MB / 436.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001581/0.8107, allocations: 249 kB / 436.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007037/0.8178, allocations: 3.294 MB / 439.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.8178, allocations: 24 kB / 439.7 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-05/0.8179, allocations: 4 kB / 439.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.8179, allocations: 11.95 kB / 439.7 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/0.8358, allocations: 6.883 MB / 446.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.8359, allocations: 0 / 446.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.8373, allocations: 299.8 kB / 446.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002816/0.8401, allocations: 0.9369 MB / 447.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/0.8403, allocations: 39.98 kB / 447.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/0.8562, allocations: 13.46 MB / 461.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.8562, allocations: 4.031 kB / 461.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/0.8667, allocations: 4.859 MB / 466.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/0.8691, allocations: 0.5644 MB / 466.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001317/0.8704, allocations: 40 kB / 466.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/0.8728, allocations: 119.9 kB / 466.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006178/0.8734, allocations: 161.6 kB / 467.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/0.8736, allocations: 44 kB / 467.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.004233/0.8779, allocations: 1.629 MB / 468.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8779, allocations: 0 / 468.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004284/0.8822, allocations: 0.7031 MB / 469.5 MB, free: 1.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0007428/0.8829, allocations: 198.7 kB / 469.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007605/0.8906, allocations: 3.586 MB / 473.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.8906, allocations: 0 / 473.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004847/0.8955, allocations: 2.505 MB / 475.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007123/0.9027, allocations: 0.6717 MB / 476.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/0.924, allocations: 8.195 MB / 484.6 MB, free: 2.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005315/0.9294, allocations: 2.473 MB / 487.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/0.9311, allocations: 163.4 kB / 487.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.385e-06/0.9312, allocations: 4 kB / 487.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of Templates: time 0.4942/1.425, allocations: 167.6 MB / 0.6395 GB, free: 28.26 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_StartCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_StartCalcHelperMain.o] Error 1