Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_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_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009638/0.0009637, allocations: 101 kB / 17.96 MB, free: 5.766 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.001233/0.001233, allocations: 177.1 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, 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.0006254/0.0006253, allocations: 12 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1593, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.0131/0.1725, allocations: 9.059 MB / 338.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008988/0.1816, allocations: 3.008 MB / 341.7 MB, free: 7.641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.1842, allocations: 39.81 kB / 341.7 MB, free: 7.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.1872, allocations: 0.5438 MB / 342.3 MB, free: 7.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004767/0.192, allocations: 0.6682 MB / 342.9 MB, free: 6.383 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.1939, allocations: 335.6 kB / 343.3 MB, free: 6.055 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005665/0.1996, allocations: 2.76 MB / 346 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003373/0.203, allocations: 1.39 MB / 347.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.2055, allocations: 0.8362 MB / 348.2 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003082/0.2087, allocations: 1.14 MB / 349.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.2097, allocations: 124 kB / 349.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.2119, allocations: 223.8 kB / 349.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001608/0.2136, allocations: 0.5956 MB / 350.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002297/0.2159, allocations: 1.094 MB / 351.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003901/0.2198, allocations: 2.914 MB / 354.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.2198, allocations: 0 / 354.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.2199, allocations: 0 / 354.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001261/0.22, allocations: 0 / 354.3 MB, free: 10.9 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006631/0.2266, allocations: 2.182 MB / 356.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.021e-05/0.2267, allocations: 8.031 kB / 356.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.2281, allocations: 266.1 kB / 356.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/0.2312, allocations: 1.26 MB / 358 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.2313, allocations: 144.2 kB / 358.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/0.2317, allocations: 196 kB / 358.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005272/0.237, allocations: 2.422 MB / 360.8 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.142e-05/0.2371, allocations: 15.88 kB / 360.8 MB, free: 4.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.2374, allocations: 79.98 kB / 360.9 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/0.2375, allocations: 87.69 kB / 361 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004301/0.2418, allocations: 1.97 MB / 362.9 MB, free: 2.129 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01623/0.2581, allocations: 7.886 MB / 370.8 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.2602, allocations: 1.23 MB / 372.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/0.2623, allocations: 0.9528 MB / 373 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/0.2626, allocations: 122.1 kB / 373.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/0.2626, allocations: 43.56 kB / 373.2 MB, free: 7.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 4.749e-06/0.2626, allocations: 0 / 373.2 MB, free: 7.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01517/0.2778, allocations: 5.929 MB / 379.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.2779, allocations: 72.34 kB / 379.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/0.2808, allocations: 1.31 MB / 380.5 MB, free: 112 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.281, allocations: 41.7 kB / 380.5 MB, free: 64 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2591/0.5402, allocations: 0.9152 MB / 381.4 MB, free: 51.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006523/0.5409, allocations: 391.9 kB / 381.8 MB, free: 50.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.5411, allocations: 114 kB / 381.9 MB, free: 50.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5413, allocations: 361.1 kB / 382.3 MB, free: 50.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.5429, allocations: 0.6402 MB / 382.9 MB, free: 50.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.5448, allocations: 1.002 MB / 383.9 MB, free: 50.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/0.5476, allocations: 1.741 MB / 385.7 MB, free: 49.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/0.5476, allocations: 3.656 kB / 385.7 MB, free: 49.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005084/0.5527, allocations: 2.256 MB / 387.9 MB, free: 48.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.5528, allocations: 11.19 kB / 387.9 MB, free: 48.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/0.5529, allocations: 11.03 kB / 388 MB, free: 48.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/0.5544, allocations: 493.7 kB / 388.4 MB, free: 48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.5558, allocations: 298.9 kB / 388.7 MB, free: 47.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008117/0.5639, allocations: 6.544 MB / 395.3 MB, free: 42.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.5657, allocations: 87.48 kB / 395.4 MB, free: 42.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.5659, allocations: 56.42 kB / 395.4 MB, free: 42.86 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001627/0.5675, allocations: 0.6022 MB / 396 MB, free: 42.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000644/0.5681, allocations: 148 kB / 396.2 MB, free: 42.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.572, allocations: 1.978 MB / 398.1 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.5721, allocations: 11 kB / 398.1 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.5721, allocations: 5.5 kB / 398.2 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.5721, allocations: 6.984 kB / 398.2 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007822/0.5799, allocations: 4.134 MB / 402.3 MB, free: 39.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.58, allocations: 3.938 kB / 402.3 MB, free: 39.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/0.5808, allocations: 178.7 kB / 402.5 MB, free: 39.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/0.5823, allocations: 0.5395 MB / 403 MB, free: 39.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.5825, allocations: 35.66 kB / 403 MB, free: 39.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007092/0.5896, allocations: 8.057 MB / 411.1 MB, free: 32.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.5896, allocations: 0 / 411.1 MB, free: 32.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004627/0.5943, allocations: 2.859 MB / 414 MB, free: 29.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009582/0.5952, allocations: 359.2 kB / 414.3 MB, free: 28.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.5955, allocations: 32.67 kB / 414.3 MB, free: 28.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/0.5963, allocations: 72.52 kB / 414.4 MB, free: 28.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.5966, allocations: 88.61 kB / 414.5 MB, free: 28.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.5966, allocations: 31.98 kB / 414.5 MB, free: 28.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.598, allocations: 0.8878 MB / 415.4 MB, free: 27.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.598, allocations: 3.938 kB / 415.4 MB, free: 27.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002068/0.6, allocations: 442.8 kB / 415.9 MB, free: 27.31 MB / 318.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 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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%), (2,8,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.0004787/0.6005, allocations: 180.6 kB / 416 MB, free: 27.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003553/0.6041, allocations: 2.231 MB / 418.3 MB, free: 24.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.6041, allocations: 8.125 kB / 418.3 MB, free: 24.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.6062, allocations: 1.514 MB / 419.8 MB, free: 23.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/0.6091, allocations: 388.6 kB / 420.2 MB, free: 22.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00901/0.6181, allocations: 5.181 MB / 425.3 MB, free: 17.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/0.62, allocations: 1.626 MB / 427 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007674/0.6208, allocations: 109.7 kB / 427.1 MB, free: 15.85 MB / 318.1 MB Notification: Performance of SimCode: time 2.345e-06/0.6209, allocations: 0 / 427.1 MB, free: 15.85 MB / 318.1 MB Notification: Performance of Templates: time 0.09677/0.7176, allocations: 70.38 MB / 497.5 MB, free: 9.316 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_SteinmetzCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_SteinmetzCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_SteinmetzCalcHelperMain.o] Error 1