Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 98.7 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.001202/0.001202, allocations: 178.3 kB / 18.86 MB, free: 4.902 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.167/2.167, 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.0008706/0.0008704, allocations: 8 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1407, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01395/0.1548, allocations: 9.525 MB / 339.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008848/0.1637, allocations: 3.218 MB / 342.4 MB, free: 6.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.1666, allocations: 47.75 kB / 342.4 MB, free: 6.914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.1695, allocations: 0.606 MB / 343 MB, free: 6.305 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.174, allocations: 0.7616 MB / 343.8 MB, free: 5.539 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.1759, allocations: 359.6 kB / 344.1 MB, free: 5.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006008/0.1819, allocations: 3.386 MB / 347.5 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00438/0.1864, allocations: 2.041 MB / 349.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00295/0.1894, allocations: 0.9995 MB / 350.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003727/0.1932, allocations: 1.443 MB / 352 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.1944, allocations: 148 kB / 352.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.1962, allocations: 271.8 kB / 352.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001826/0.1981, allocations: 0.7707 MB / 353.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004529/0.2026, allocations: 1.362 MB / 354.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006367/0.209, allocations: 3.736 MB / 358.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.2091, allocations: 8 kB / 358.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.674e-06/0.2091, allocations: 0 / 358.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002443/0.2094, allocations: 3.938 kB / 358.3 MB, free: 6.918 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.009621/0.219, allocations: 2.774 MB / 361.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/0.2191, allocations: 8.031 kB / 361.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.2213, allocations: 333.2 kB / 361.4 MB, free: 3.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005675/0.227, allocations: 1.632 MB / 363 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003698/0.2275, allocations: 185 kB / 363.2 MB, free: 1.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.2288, allocations: 231.9 kB / 363.4 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.2399, allocations: 3.152 MB / 366.6 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001885/0.2401, allocations: 4 kB / 366.6 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008896/0.2411, allocations: 99.98 kB / 366.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/0.2413, allocations: 108.6 kB / 366.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008762/0.25, allocations: 2.719 MB / 369.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02754/0.2776, allocations: 9.798 MB / 379.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3278/0.6055, allocations: 2.171 MB / 381.5 MB, free: 49.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00338/0.609, allocations: 1.132 MB / 382.6 MB, free: 49.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005019/0.6095, allocations: 208.9 kB / 382.8 MB, free: 48.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.575e-05/0.6096, allocations: 49.41 kB / 382.9 MB, free: 48.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 5.55e-06/0.6096, allocations: 0 / 382.9 MB, free: 48.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.02206/0.6317, allocations: 6.819 MB / 389.7 MB, free: 46.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.6319, allocations: 68.78 kB / 389.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006187/0.6381, allocations: 1.744 MB / 391.5 MB, free: 46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005472/0.6387, allocations: 45.64 kB / 391.5 MB, free: 45.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001733/0.6405, allocations: 1.158 MB / 392.7 MB, free: 45.06 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008807/0.6414, allocations: 450.9 kB / 393.1 MB, free: 44.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/0.6417, allocations: 131.5 kB / 393.3 MB, free: 44.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6419, allocations: 302.2 kB / 393.6 MB, free: 44.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.6436, allocations: 0.8087 MB / 394.4 MB, free: 44.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002348/0.646, allocations: 1.216 MB / 395.6 MB, free: 43.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0044/0.6504, allocations: 2.127 MB / 397.7 MB, free: 42.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.464e-05/0.6505, allocations: 3.969 kB / 397.7 MB, free: 42.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006286/0.6568, allocations: 2.691 MB / 400.4 MB, free: 41.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.785e-05/0.6569, allocations: 10.22 kB / 400.4 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.544e-05/0.657, allocations: 20.97 kB / 400.4 MB, free: 41.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.6585, allocations: 422 kB / 400.8 MB, free: 40.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.6601, allocations: 363.2 kB / 401.2 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007565/0.6677, allocations: 6.492 MB / 407.7 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/0.6703, allocations: 111.9 kB / 407.8 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003847/0.6707, allocations: 67.98 kB / 407.9 MB, free: 34.85 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (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 (174): * 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: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002593/0.6733, allocations: 0.7861 MB / 408.7 MB, free: 34.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009898/0.6743, allocations: 189.7 kB / 408.8 MB, free: 33.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/0.6795, allocations: 2.396 MB / 411.2 MB, free: 31.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.6795, allocations: 12.66 kB / 411.2 MB, free: 31.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.753e-05/0.6796, allocations: 4 kB / 411.3 MB, free: 31.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.6796, allocations: 11.91 kB / 411.3 MB, free: 31.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.6925, allocations: 5.146 MB / 416.4 MB, free: 26.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.6925, allocations: 4 kB / 416.4 MB, free: 26.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.6936, allocations: 252 kB / 416.7 MB, free: 25.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.6948, allocations: 455.5 kB / 417.1 MB, free: 25.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/0.695, allocations: 31.98 kB / 417.1 MB, free: 25.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007/0.702, allocations: 7.942 MB / 425.1 MB, free: 16.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.7021, allocations: 11.97 kB / 425.1 MB, free: 16.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006006/0.7081, allocations: 3.564 MB / 428.7 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.7095, allocations: 438.6 kB / 429.1 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007243/0.7103, allocations: 35.98 kB / 429.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.7117, allocations: 95.91 kB / 429.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/0.7121, allocations: 120.7 kB / 429.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.881e-05/0.7122, allocations: 47.92 kB / 429.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002302/0.7145, allocations: 1.198 MB / 430.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7145, allocations: 0 / 430.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002603/0.7171, allocations: 0.4987 MB / 431.1 MB, free: 10.85 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.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 (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,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.000524/0.7177, allocations: 206.7 kB / 431.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004215/0.7219, allocations: 2.469 MB / 433.7 MB, free: 8.117 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.7219, allocations: 1.875 kB / 433.7 MB, free: 8.117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00245/0.7244, allocations: 1.638 MB / 435.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/0.729, allocations: 444.5 kB / 435.8 MB, free: 6 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.741, allocations: 6.253 MB / 442.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003239/0.7443, allocations: 1.969 MB / 444 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008825/0.7452, allocations: 139.3 kB / 444.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of SimCode: time 1.403e-06/0.7452, allocations: 0 / 444.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Templates: time 0.1242/0.8694, allocations: 78.79 MB / 0.5107 GB, free: 14.59 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.SMR_DOLCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOLCalcHelperMain.o] Error 1