Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 99.06 kB / 17.96 MB, free: 5.41 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.001406/0.001406, allocations: 176.3 kB / 18.86 MB, free: 4.637 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.214/2.214, allocations: 205.4 MB / 225 MB, free: 12.86 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.000711/0.000711, allocations: 16 kB / 282 MB, free: 3.371 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1288, allocations: 47.58 MB / 329.6 MB, free: 3.719 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.01321/0.1421, allocations: 10.91 MB / 340.5 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.1542, allocations: 3.88 MB / 344.4 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.1575, allocations: 55.69 kB / 344.5 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003131/0.1607, allocations: 0.7496 MB / 345.2 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00537/0.1661, allocations: 0.851 MB / 346.1 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.1682, allocations: 471.5 kB / 346.5 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006373/0.1746, allocations: 3.613 MB / 350.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004756/0.1794, allocations: 2.494 MB / 352.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.1828, allocations: 1.128 MB / 353.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003733/0.1865, allocations: 1.63 MB / 355.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005557/0.1871, allocations: 168 kB / 355.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.1885, allocations: 291.8 kB / 355.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.1898, allocations: 0.9109 MB / 356.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00302/0.1928, allocations: 1.56 MB / 358.3 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005955/0.1988, allocations: 4.426 MB / 362.7 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.1989, allocations: 0 / 362.7 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.1989, allocations: 0 / 362.7 MB, free: 2.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002248/0.1991, allocations: 0 / 362.7 MB, free: 2.414 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: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.009449/0.2086, allocations: 3.198 MB / 365.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.929e-05/0.2087, allocations: 12.03 kB / 365.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.2106, allocations: 388.6 kB / 366.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004847/0.2155, allocations: 1.938 MB / 368.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.2158, allocations: 226 kB / 368.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006444/0.2164, allocations: 283.9 kB / 368.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007976/0.2244, allocations: 3.705 MB / 372.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.579e-05/0.2246, allocations: 4 kB / 372.5 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002782/0.2248, allocations: 112 kB / 372.6 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/0.225, allocations: 141.5 kB / 372.7 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006021/0.231, allocations: 3.106 MB / 375.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3664/0.5975, allocations: 11.7 MB / 387.5 MB, free: 44.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003327/0.6009, allocations: 1.907 MB / 389.4 MB, free: 43.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002443/0.6034, allocations: 1.087 MB / 390.5 MB, free: 43.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003369/0.6037, allocations: 210.9 kB / 390.7 MB, free: 43.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.6038, allocations: 47.16 kB / 390.8 MB, free: 43.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=125): time 4.348e-06/0.6038, allocations: 0 / 390.8 MB, free: 43.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.01723/0.621, allocations: 6.57 MB / 397.3 MB, free: 40.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.6211, allocations: 66.66 kB / 397.4 MB, free: 40.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004033/0.6252, allocations: 1.995 MB / 399.4 MB, free: 39.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.6254, allocations: 49.64 kB / 399.4 MB, free: 39.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.6265, allocations: 1.404 MB / 400.9 MB, free: 37.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000472/0.627, allocations: 491.2 kB / 401.3 MB, free: 37.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.6272, allocations: 140.4 kB / 401.5 MB, free: 37.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6273, allocations: 308.9 kB / 401.8 MB, free: 37.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.6285, allocations: 0.8198 MB / 402.6 MB, free: 36.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.6303, allocations: 1.378 MB / 404 MB, free: 35.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/0.6333, allocations: 2.372 MB / 406.3 MB, free: 33.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/0.6333, allocations: 7.656 kB / 406.3 MB, free: 33.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.005207/0.6385, allocations: 2.858 MB / 409.2 MB, free: 32.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.6386, allocations: 12 kB / 409.2 MB, free: 32.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.6386, allocations: 23.94 kB / 409.2 MB, free: 32.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000917/0.6396, allocations: 385.1 kB / 409.6 MB, free: 31.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.641, allocations: 431.3 kB / 410 MB, free: 31.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005018/0.646, allocations: 6.156 MB / 416.2 MB, free: 24.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.6482, allocations: 123.8 kB / 416.3 MB, free: 24.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.6484, allocations: 87.92 kB / 416.4 MB, free: 24.72 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (210): * Single equations (assignments): 206 * 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 {(2,9,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.002225/0.6506, allocations: 0.9077 MB / 417.3 MB, free: 23.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006597/0.6513, allocations: 209.4 kB / 417.5 MB, free: 23.6 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/0.6551, allocations: 2.43 MB / 419.9 MB, free: 21.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.6551, allocations: 16 kB / 420 MB, free: 21.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.6551, allocations: 4 kB / 420 MB, free: 21.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.6551, allocations: 3.984 kB / 420 MB, free: 21.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009054/0.6642, allocations: 5.534 MB / 425.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.6643, allocations: 8 kB / 425.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.6653, allocations: 259.6 kB / 425.8 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000967/0.6663, allocations: 408.3 kB / 426.2 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.6664, allocations: 35.98 kB / 426.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006224/0.6726, allocations: 7.578 MB / 433.8 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/0.6727, allocations: 20.3 kB / 433.8 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005897/0.6786, allocations: 3.609 MB / 437.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/0.6805, allocations: 478.4 kB / 437.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009609/0.6815, allocations: 32 kB / 437.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.6829, allocations: 95.88 kB / 438 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/0.6831, allocations: 106.3 kB / 438.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.6833, allocations: 39.98 kB / 438.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002185/0.6855, allocations: 1.361 MB / 439.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6855, allocations: 4 kB / 439.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003066/0.6885, allocations: 0.5352 MB / 440 MB, free: 244 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * 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 (129): * Single equations (assignments): 125 * 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 {(2,9,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.0005715/0.6891, allocations: 198.9 kB / 440.2 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004368/0.6935, allocations: 2.489 MB / 442.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.6935, allocations: 4 kB / 442.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002431/0.696, allocations: 1.501 MB / 444.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004438/0.7004, allocations: 0.5131 MB / 444.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.7152, allocations: 7.133 MB / 451.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002422/0.7177, allocations: 2.171 MB / 454 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.7188, allocations: 159.4 kB / 454.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of SimCode: time 6.152e-06/0.7188, allocations: 0 / 454.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of Templates: time 0.4196/1.138, allocations: 91.16 MB / 0.5326 GB, free: 133.4 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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_VoltageSourceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSourceCalcHelperMain.o] Error 1