Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007553/0.0007554, allocations: 85.77 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.703/1.703, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003094, allocations: 8 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1627, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01108/0.1738, allocations: 9.153 MB / 368 MB, free: 4.941 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007754/0.1816, allocations: 3.281 MB / 371.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/0.1838, allocations: 51.75 kB / 371.3 MB, free: 1.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.186, allocations: 0.6174 MB / 371.9 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.1894, allocations: 0.7107 MB / 372.6 MB, free: 268 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3354/0.5248, allocations: 272.7 kB / 372.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007937/0.5328, allocations: 2.778 MB / 375.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006075/0.5389, allocations: 1.582 MB / 377.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004459/0.5434, allocations: 0.9542 MB / 378.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004801/0.5483, allocations: 1.282 MB / 379.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.5497, allocations: 140.5 kB / 379.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.5525, allocations: 226.3 kB / 379.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002164/0.5547, allocations: 0.7064 MB / 380.5 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002365/0.557, allocations: 0.5129 MB / 381.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007829/0.5649, allocations: 3.52 MB / 384.6 MB, free: 8.766 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.006e-06/0.5649, allocations: 7.438 kB / 384.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.565, allocations: 0 / 384.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002163/0.5652, allocations: 0 / 384.6 MB, free: 8.762 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.009643/0.5748, allocations: 2.631 MB / 387.2 MB, free: 7.176 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.5749, allocations: 9.312 kB / 387.2 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.5778, allocations: 317.5 kB / 387.5 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/0.5829, allocations: 1.529 MB / 389.1 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.5832, allocations: 173.1 kB / 389.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006522/0.5839, allocations: 226.4 kB / 389.4 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008994/0.5929, allocations: 2.907 MB / 392.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.441e-05/0.593, allocations: 10.64 kB / 392.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002728/0.5933, allocations: 94.86 kB / 392.5 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.5935, allocations: 120.2 kB / 392.6 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00612/0.5996, allocations: 2.444 MB / 395 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01876/0.6184, allocations: 9.149 MB / 404.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.6213, allocations: 1.716 MB / 405.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.6233, allocations: 1.012 MB / 406.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004331/0.6237, allocations: 209.9 kB / 407.1 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.072e-05/0.6238, allocations: 43.56 kB / 407.1 MB, free: 9.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=105): time 4.759e-06/0.6238, allocations: 0 / 407.1 MB, free: 9.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01674/0.6406, allocations: 6.686 MB / 413.8 MB, free: 3.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.6407, allocations: 64.41 kB / 413.9 MB, free: 3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003239/0.6439, allocations: 1.554 MB / 415.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.6441, allocations: 45.7 kB / 415.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.6452, allocations: 1.113 MB / 416.6 MB, free: 268 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005659/0.6457, allocations: 423.7 kB / 417 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.6458, allocations: 32 kB / 417 MB, free: 15.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002726/0.6461, allocations: 365.9 kB / 417.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.6475, allocations: 0.7222 MB / 418.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.6491, allocations: 1.146 MB / 419.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.6507, allocations: 0.8978 MB / 420.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.6507, allocations: 4 kB / 420.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005194/0.6559, allocations: 2.535 MB / 422.7 MB, free: 9.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.656, allocations: 16 kB / 422.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.656, allocations: 12 kB / 422.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.6571, allocations: 420.4 kB / 423.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.6585, allocations: 355.4 kB / 423.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007432/0.6659, allocations: 6.547 MB / 430 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.6681, allocations: 115.8 kB / 430.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.6683, allocations: 67.98 kB / 430.2 MB, free: 2.004 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002252/0.6706, allocations: 0.709 MB / 430.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008835/0.6715, allocations: 176.1 kB / 431.1 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005444/0.6769, allocations: 2.222 MB / 433.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.677, allocations: 12 kB / 433.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.152e-05/0.677, allocations: 4 kB / 433.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.677, allocations: 12.06 kB / 433.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.6925, allocations: 4.797 MB / 438.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/0.6926, allocations: 6.188 kB / 438.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.6938, allocations: 228.1 kB / 438.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.6953, allocations: 452.3 kB / 438.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/0.6955, allocations: 35.98 kB / 438.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.7061, allocations: 7.983 MB / 446.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.7062, allocations: 4 kB / 446.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007475/0.7136, allocations: 3.243 MB / 450.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/0.7155, allocations: 406.9 kB / 450.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008762/0.7164, allocations: 35.98 kB / 450.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/0.7182, allocations: 87.91 kB / 450.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004329/0.7187, allocations: 104.8 kB / 450.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.7189, allocations: 38.52 kB / 450.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003387/0.7223, allocations: 1.055 MB / 451.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7223, allocations: 7.938 kB / 451.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003717/0.726, allocations: 492 kB / 452.3 MB, free: 11.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006683/0.7267, allocations: 161.4 kB / 452.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00544/0.7321, allocations: 2.298 MB / 454.7 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/0.7322, allocations: 8.125 kB / 454.8 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002827/0.735, allocations: 1.473 MB / 456.2 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/0.7389, allocations: 467 kB / 456.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.7507, allocations: 5.649 MB / 462.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002652/0.7534, allocations: 1.835 MB / 464.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000871/0.7543, allocations: 139.4 kB / 464.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.7543, allocations: 0 / 464.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of Templates: time 0.1022/0.8565, allocations: 73.39 MB / 0.5251 GB, free: 5.555 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_InverterCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_InverterCalcHelperMain.o] Error 1