Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource.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_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001165, allocations: 88.86 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.001794/0.001795, allocations: 206.2 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.743/1.743, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 8 kB / 307.3 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1545, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource): time 0.01346/0.168, allocations: 10.52 MB / 369.3 MB, free: 3.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3309/0.499, allocations: 3.805 MB / 373.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.502, allocations: 67.84 kB / 373.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.5049, allocations: 0.6967 MB / 373.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.5089, allocations: 0.8135 MB / 374.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.5104, allocations: 366.8 kB / 375.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007656/0.5181, allocations: 3.364 MB / 378.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.5221, allocations: 2.168 MB / 380.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/0.5253, allocations: 1.147 MB / 381.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004022/0.5293, allocations: 1.605 MB / 383.3 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007213/0.53, allocations: 168.9 kB / 383.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.5316, allocations: 263.6 kB / 383.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.533, allocations: 0.9283 MB / 384.7 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.5345, allocations: 0.642 MB / 385.3 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006257/0.5408, allocations: 4.554 MB / 389.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.5408, allocations: 1.156 kB / 389.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5408, allocations: 0 / 389.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000258/0.5411, allocations: 0 / 389.9 MB, free: 5.746 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: 775 * Number of variables: 775 Notification: Performance of Generate backend data structure: time 0.009889/0.551, allocations: 3.343 MB / 393.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.551, allocations: 11.5 kB / 393.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.5532, allocations: 417.1 kB / 393.7 MB, free: 3.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/0.5577, allocations: 2.002 MB / 395.7 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.558, allocations: 227.8 kB / 395.9 MB, free: 2.715 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007366/0.5587, allocations: 299.4 kB / 396.2 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007237/0.566, allocations: 3.833 MB / 400 MB, free: 0.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.828e-05/0.5661, allocations: 13.09 kB / 400 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002737/0.5663, allocations: 115.2 kB / 400.1 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/0.5665, allocations: 151.7 kB / 400.3 MB, free: 0.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006557/0.5731, allocations: 3.239 MB / 403.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02276/0.5959, allocations: 12.2 MB / 415.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.5984, allocations: 1.942 MB / 417.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.6002, allocations: 1.168 MB / 418.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003346/0.6006, allocations: 206.8 kB / 419 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.6006, allocations: 51.88 kB / 419.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=139): time 3.015e-06/0.6006, allocations: 2.078 kB / 419.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=155): time 0.0133/0.6139, allocations: 7.034 MB / 426.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.614, allocations: 68.22 kB / 426.2 MB, free: 6.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003037/0.6171, allocations: 2.024 MB / 428.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.6172, allocations: 49.7 kB / 428.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.6182, allocations: 1.459 MB / 429.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/0.6187, allocations: 0.5374 MB / 430.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.811e-05/0.6188, allocations: 40 kB / 430.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6189, allocations: 381.9 kB / 430.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.6202, allocations: 0.8706 MB / 431.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.622, allocations: 1.443 MB / 433 MB, free: 15.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.6236, allocations: 1.116 MB / 434.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.6236, allocations: 4 kB / 434.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.004853/0.6285, allocations: 2.991 MB / 437.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.6285, allocations: 16.5 kB / 437.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.6286, allocations: 19.94 kB / 437.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008457/0.6294, allocations: 391.1 kB / 437.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.631, allocations: 475.2 kB / 438 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/0.6367, allocations: 6.143 MB / 444.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.6388, allocations: 139.7 kB / 444.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.639, allocations: 83.98 kB / 444.3 MB, free: 3.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 1 (sinCosEvaluation.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 224 * 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 {(2,100.0%) 9,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002235/0.6412, allocations: 0.9302 MB / 445.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005002/0.6417, allocations: 213.3 kB / 445.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/0.646, allocations: 2.601 MB / 448.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.646, allocations: 12 kB / 448.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.646, allocations: 4 kB / 448.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.6461, allocations: 11.91 kB / 448.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009983/0.6561, allocations: 5.851 MB / 454 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.6561, allocations: 4.5 kB / 454 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.6573, allocations: 299.5 kB / 454.2 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000981/0.6583, allocations: 400.1 kB / 454.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.6584, allocations: 43.98 kB / 454.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006737/0.6652, allocations: 7.589 MB / 462.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.6652, allocations: 7.938 kB / 462.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005953/0.6712, allocations: 3.835 MB / 466.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/0.6727, allocations: 494.1 kB / 466.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000704/0.6735, allocations: 39.94 kB / 466.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.6749, allocations: 99.89 kB / 466.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/0.6752, allocations: 110.8 kB / 466.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.6753, allocations: 51.94 kB / 466.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003494/0.6788, allocations: 1.374 MB / 468.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6788, allocations: 0 / 468.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004707/0.6836, allocations: 0.5664 MB / 468.8 MB, free: 10.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,dqCurrentController.PI_d.x,dqCurrentController.PI_q.x,sinCosEvaluation.der1.u) * 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 (146): * Single equations (assignments): 142 * 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 {(2,100.0%) 9,(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.0007686/0.6843, allocations: 166.9 kB / 469 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005478/0.6898, allocations: 2.623 MB / 471.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.6899, allocations: 0 / 471.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002485/0.6924, allocations: 1.575 MB / 473.2 MB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004384/0.6968, allocations: 0.5229 MB / 473.7 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.7122, allocations: 7.07 MB / 480.8 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003384/0.7157, allocations: 2.216 MB / 483 MB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.7168, allocations: 171.4 kB / 483.2 MB, free: 11.73 MB / 398.1 MB Notification: Performance of SimCode: time 4.379e-06/0.7169, allocations: 4 kB / 483.2 MB, free: 11.72 MB / 398.1 MB Notification: Performance of Templates: time 0.4294/1.146, allocations: 94.31 MB / 0.5639 GB, free: 129.3 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource.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_VoltageSourceCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSourceCalcHelperMain.o] Error 1