Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008904/0.0008906, allocations: 92.34 kB / 17.95 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.001166/0.001166, allocations: 176.9 kB / 18.86 MB, free: 4.762 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.287/2.287, 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.0007126/0.0007128, allocations: 8 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1557, allocations: 47.59 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01335/0.1691, allocations: 10.23 MB / 339.9 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009855/0.179, allocations: 3.596 MB / 343.4 MB, free: 5.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003371/0.1824, allocations: 51.75 kB / 343.5 MB, free: 5.824 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003072/0.1855, allocations: 0.7185 MB / 344.2 MB, free: 5.102 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004159/0.1897, allocations: 0.7693 MB / 345 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.1915, allocations: 415.5 kB / 345.4 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00603/0.1976, allocations: 3.266 MB / 348.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004181/0.2018, allocations: 2.236 MB / 350.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.2042, allocations: 1.019 MB / 351.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/0.2078, allocations: 1.467 MB / 353.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.2091, allocations: 160 kB / 353.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.2115, allocations: 271.8 kB / 353.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.213, allocations: 0.8097 MB / 354.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.2154, allocations: 1.396 MB / 356 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004356/0.2198, allocations: 3.923 MB / 359.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2198, allocations: 4 kB / 359.9 MB, free: 5.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.267e-06/0.2198, allocations: 0 / 359.9 MB, free: 5.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001271/0.22, allocations: 0 / 359.9 MB, free: 5.27 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.007045/0.227, allocations: 2.845 MB / 362.8 MB, free: 2.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.2271, allocations: 12.03 kB / 362.8 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.2281, allocations: 341.1 kB / 363.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003485/0.2316, allocations: 1.686 MB / 364.8 MB, free: 276 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.2319, allocations: 213.2 kB / 365 MB, free: 60 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005195/0.2324, allocations: 252 kB / 365.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007321/0.2397, allocations: 3.287 MB / 368.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.695e-05/0.2398, allocations: 7.906 kB / 368.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.2401, allocations: 104 kB / 368.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.2402, allocations: 120.9 kB / 368.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005061/0.2453, allocations: 2.748 MB / 371.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3497/0.595, allocations: 10.54 MB / 382.1 MB, free: 46.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.5983, allocations: 1.356 MB / 383.4 MB, free: 46.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.6, allocations: 0.7865 MB / 384.2 MB, free: 46.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003918/0.6004, allocations: 210.4 kB / 384.4 MB, free: 46.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.6005, allocations: 43.94 kB / 384.5 MB, free: 46.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 4.398e-06/0.6005, allocations: 1.281 kB / 384.5 MB, free: 46.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.02198/0.6225, allocations: 7.071 MB / 391.5 MB, free: 44.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.42e-05/0.6226, allocations: 70.94 kB / 391.6 MB, free: 44.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004394/0.627, allocations: 1.788 MB / 393.4 MB, free: 43.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.6272, allocations: 50.14 kB / 393.4 MB, free: 43.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.6286, allocations: 1.28 MB / 394.7 MB, free: 42.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/0.6291, allocations: 425.6 kB / 395.1 MB, free: 42.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.6293, allocations: 125.2 kB / 395.3 MB, free: 42.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.6294, allocations: 306.5 kB / 395.6 MB, free: 41.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.6309, allocations: 0.7724 MB / 396.3 MB, free: 41.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.6327, allocations: 1.3 MB / 397.6 MB, free: 40.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.6358, allocations: 2.228 MB / 399.9 MB, free: 39.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.6358, allocations: 3.875 kB / 399.9 MB, free: 39.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004495/0.6403, allocations: 2.475 MB / 402.3 MB, free: 38.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.6403, allocations: 9.562 kB / 402.3 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.6404, allocations: 17.91 kB / 402.4 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/0.641, allocations: 245.1 kB / 402.6 MB, free: 38.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.6424, allocations: 416 kB / 403 MB, free: 37.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/0.6448, allocations: 3.005 MB / 406 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.6467, allocations: 126.9 kB / 406.1 MB, free: 34.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.6468, allocations: 74.72 kB / 406.2 MB, free: 34.96 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001915/0.6487, allocations: 0.8229 MB / 407 MB, free: 34.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/0.6491, allocations: 188.3 kB / 407.2 MB, free: 34.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.6522, allocations: 2.035 MB / 409.3 MB, free: 32.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.6522, allocations: 12 kB / 409.3 MB, free: 32.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6522, allocations: 2.531 kB / 409.3 MB, free: 32.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.6522, allocations: 11.97 kB / 409.3 MB, free: 32.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007057/0.6593, allocations: 4.768 MB / 414 MB, free: 27.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6593, allocations: 0 / 414 MB, free: 27.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009712/0.6603, allocations: 267.9 kB / 414.3 MB, free: 27.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/0.6608, allocations: 203.2 kB / 414.5 MB, free: 26.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-05/0.6608, allocations: 27.98 kB / 414.5 MB, free: 26.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/0.6632, allocations: 2.98 MB / 417.5 MB, free: 23.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6632, allocations: 3.938 kB / 417.5 MB, free: 23.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004321/0.6675, allocations: 3.131 MB / 420.6 MB, free: 20.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.6686, allocations: 434.6 kB / 421.1 MB, free: 19.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.6688, allocations: 20 kB / 421.1 MB, free: 19.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/0.6697, allocations: 99.94 kB / 421.2 MB, free: 19.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.6698, allocations: 80.77 kB / 421.3 MB, free: 19.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.6699, allocations: 37.73 kB / 421.3 MB, free: 19.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001837/0.6718, allocations: 1.224 MB / 422.5 MB, free: 18.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.52e-07/0.6718, allocations: 0 / 422.5 MB, free: 18.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002122/0.6739, allocations: 486.6 kB / 423 MB, free: 18.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,1,100.0%), (1,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.0004323/0.6744, allocations: 194.8 kB / 423.2 MB, free: 17.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003412/0.6778, allocations: 2.342 MB / 425.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6778, allocations: 0.5 kB / 425.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.6793, allocations: 1.335 MB / 426.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/0.6822, allocations: 475.4 kB / 427.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009286/0.6915, allocations: 6.149 MB / 433.5 MB, free: 7.383 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.6932, allocations: 1.974 MB / 435.5 MB, free: 5.375 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008188/0.694, allocations: 151.4 kB / 435.6 MB, free: 5.227 MB / 318.1 MB Notification: Performance of SimCode: time 1.533e-06/0.694, allocations: 0 / 435.6 MB, free: 5.227 MB / 318.1 MB Notification: Performance of Templates: time 0.1231/0.8172, allocations: 82.19 MB / 0.5057 GB, free: 2.875 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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.SynchronousInductionMachines.SMPM_CurrentSourceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSourceCalcHelperMain.o] Error 1