Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 98.7 kB / 17.96 MB, free: 5.77 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.001148/0.001148, allocations: 177.2 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.277/2.277, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005333/0.0005333, allocations: 14.81 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1555, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01648/0.172, allocations: 10.76 MB / 340.4 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.1851, allocations: 3.832 MB / 344.2 MB, free: 5.098 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003733/0.1889, allocations: 51.75 kB / 344.3 MB, free: 5.047 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.1931, allocations: 0.7305 MB / 345 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006868/0.2001, allocations: 0.8469 MB / 345.8 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002685/0.2028, allocations: 463.5 kB / 346.3 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008256/0.2111, allocations: 3.588 MB / 349.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004193/0.2154, allocations: 2.106 MB / 352 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003594/0.219, allocations: 1.089 MB / 353.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004165/0.2232, allocations: 1.525 MB / 354.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.2243, allocations: 164 kB / 354.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.2265, allocations: 435.4 kB / 355.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001363/0.2279, allocations: 0.8058 MB / 356 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003796/0.2317, allocations: 1.455 MB / 357.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006887/0.2386, allocations: 4.04 MB / 361.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.2387, allocations: 4 kB / 361.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.2387, allocations: 0 / 361.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002361/0.239, allocations: 0 / 361.5 MB, free: 3.699 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01136/0.2503, allocations: 2.95 MB / 364.4 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.87e-05/0.2504, allocations: 8.031 kB / 364.4 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/0.2534, allocations: 416.9 kB / 364.9 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005276/0.2588, allocations: 1.726 MB / 366.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/0.2591, allocations: 197.3 kB / 366.8 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.2602, allocations: 252 kB / 367 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008445/0.2686, allocations: 3.255 MB / 370.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.2688, allocations: 11.84 kB / 370.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/0.2691, allocations: 100 kB / 370.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002185/0.2694, allocations: 112.9 kB / 370.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007111/0.2765, allocations: 2.732 MB / 373.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4007/0.6773, allocations: 10.43 MB / 383.7 MB, free: 32.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003746/0.6811, allocations: 1.792 MB / 385.4 MB, free: 32.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002661/0.6838, allocations: 1.061 MB / 386.5 MB, free: 32.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/0.6842, allocations: 205.8 kB / 386.7 MB, free: 31.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.6843, allocations: 47.72 kB / 386.8 MB, free: 31.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 5.851e-06/0.6843, allocations: 0 / 386.8 MB, free: 31.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02457/0.7089, allocations: 7.757 MB / 394.5 MB, free: 30.58 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.709, allocations: 68.84 kB / 394.6 MB, free: 30.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004614/0.7136, allocations: 1.876 MB / 396.5 MB, free: 30.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003743/0.714, allocations: 47.23 kB / 396.5 MB, free: 30.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.7152, allocations: 1.241 MB / 397.7 MB, free: 29.58 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/0.7158, allocations: 472.1 kB / 398.2 MB, free: 29.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.716, allocations: 132.4 kB / 398.3 MB, free: 29.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.7161, allocations: 307.5 kB / 398.6 MB, free: 28.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.7179, allocations: 0.825 MB / 399.5 MB, free: 28.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.7198, allocations: 1.33 MB / 400.8 MB, free: 27.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/0.7232, allocations: 2.293 MB / 403.1 MB, free: 26.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.7233, allocations: 7.812 kB / 403.1 MB, free: 26.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005213/0.7285, allocations: 2.82 MB / 405.9 MB, free: 25.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.7286, allocations: 17 kB / 405.9 MB, free: 25.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.103e-05/0.7287, allocations: 18.25 kB / 405.9 MB, free: 25.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.7297, allocations: 420.6 kB / 406.4 MB, free: 25.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.7312, allocations: 402.2 kB / 406.7 MB, free: 25.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00537/0.7366, allocations: 5.307 MB / 412.1 MB, free: 20.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.7393, allocations: 133 kB / 412.2 MB, free: 20.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.7395, allocations: 72.94 kB / 412.3 MB, free: 20.28 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001881/0.7414, allocations: 0.7988 MB / 413.1 MB, free: 19.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006218/0.7421, allocations: 189.7 kB / 413.2 MB, free: 19.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004573/0.7466, allocations: 2.426 MB / 415.7 MB, free: 16.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.235e-05/0.7467, allocations: 12 kB / 415.7 MB, free: 16.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.7468, allocations: 4.812 kB / 415.7 MB, free: 16.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.7468, allocations: 7.984 kB / 415.7 MB, free: 16.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/0.7588, allocations: 5.319 MB / 421 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/0.7589, allocations: 11.41 kB / 421 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.76, allocations: 258.5 kB / 421.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.7613, allocations: 466.5 kB / 421.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/0.7615, allocations: 35.98 kB / 421.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007233/0.7687, allocations: 6.734 MB / 428.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.7688, allocations: 11.22 kB / 428.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008191/0.777, allocations: 3.632 MB / 432.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003049/0.7801, allocations: 458.5 kB / 432.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/0.7818, allocations: 34.62 kB / 432.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003317/0.7851, allocations: 115.9 kB / 432.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006515/0.7858, allocations: 111.9 kB / 432.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002348/0.7861, allocations: 47.94 kB / 432.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.004357/0.7905, allocations: 1.291 MB / 434.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.012e-06/0.7905, allocations: 0 / 434.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.005586/0.7961, allocations: 0.5443 MB / 434.7 MB, free: 13.28 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,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.001063/0.7972, allocations: 218.2 kB / 434.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.007398/0.8047, allocations: 2.451 MB / 437.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.8047, allocations: 0 / 437.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004822/0.8096, allocations: 1.523 MB / 438.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004891/0.8145, allocations: 431.5 kB / 439.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.8308, allocations: 6.435 MB / 445.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002658/0.8335, allocations: 1.986 MB / 447.8 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009968/0.8345, allocations: 139.4 kB / 447.9 MB, free: 40 kB / 334.1 MB Notification: Performance of SimCode: time 1.993e-06/0.8345, allocations: 4 kB / 447.9 MB, free: 36 kB / 334.1 MB Notification: Performance of Templates: time 0.126/0.9605, allocations: 69.67 MB / 0.5054 GB, free: 10.28 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SMEE_GeneratorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.o] Error 1