Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008597/0.0008597, allocations: 91.23 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.684/1.684, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 11.98 kB / 307.3 MB, free: 1.598 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1655, allocations: 51.49 MB / 358.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01347/0.179, allocations: 10.18 MB / 369 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.1895, allocations: 3.712 MB / 372.7 MB, free: 160 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003301/0.1929, allocations: 55.75 kB / 372.7 MB, free: 104 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.271/0.464, allocations: 0.673 MB / 373.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005034/0.4691, allocations: 0.8062 MB / 374.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.4709, allocations: 342.6 kB / 374.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00734/0.4783, allocations: 3.245 MB / 377.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003962/0.4823, allocations: 1.725 MB / 379.5 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.4857, allocations: 1.081 MB / 380.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003574/0.4893, allocations: 1.475 MB / 382.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006966/0.49, allocations: 162.2 kB / 382.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.4918, allocations: 371.6 kB / 382.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.493, allocations: 0.7984 MB / 383.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.4945, allocations: 0.5828 MB / 384 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005787/0.5003, allocations: 4.037 MB / 388 MB, free: 6.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.5004, allocations: 0 / 388 MB, free: 6.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5004, allocations: 0 / 388 MB, free: 6.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001668/0.5005, allocations: 0 / 388 MB, free: 6.645 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.009244/0.5098, allocations: 3.002 MB / 391 MB, free: 4.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.5099, allocations: 13.5 kB / 391 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/0.5129, allocations: 451.4 kB / 391.5 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004201/0.5171, allocations: 1.728 MB / 393.2 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.5173, allocations: 197.2 kB / 393.4 MB, free: 3.922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005339/0.5179, allocations: 259.6 kB / 393.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006965/0.5248, allocations: 3.237 MB / 396.9 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.5249, allocations: 11.75 kB / 396.9 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.5252, allocations: 103 kB / 397 MB, free: 2.594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.5253, allocations: 118.7 kB / 397.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004916/0.5302, allocations: 2.714 MB / 399.8 MB, free: 1.188 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02129/0.5516, allocations: 10.43 MB / 410.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.5542, allocations: 1.779 MB / 412 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/0.5562, allocations: 1.078 MB / 413.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/0.5566, allocations: 203.2 kB / 413.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.5566, allocations: 47.56 kB / 413.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 3.807e-06/0.5567, allocations: 0 / 413.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02074/0.5774, allocations: 7.752 MB / 421.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.5775, allocations: 68.72 kB / 421.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004251/0.5818, allocations: 1.857 MB / 423 MB, free: 9.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002085/0.582, allocations: 52.98 kB / 423.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.5831, allocations: 1.24 MB / 424.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004791/0.5836, allocations: 474.2 kB / 424.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.633e-05/0.5837, allocations: 32 kB / 424.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.5839, allocations: 373.9 kB / 425.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.5854, allocations: 0.8244 MB / 426 MB, free: 6.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.5871, allocations: 1.323 MB / 427.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.5888, allocations: 1.023 MB / 428.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.5888, allocations: 4 kB / 428.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005068/0.5939, allocations: 2.818 MB / 431.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.594, allocations: 12.28 kB / 431.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.594, allocations: 20 kB / 431.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.595, allocations: 429.7 kB / 431.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.5965, allocations: 407.3 kB / 432 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006359/0.6028, allocations: 5.313 MB / 437.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/0.6053, allocations: 131.8 kB / 437.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/0.6055, allocations: 76 kB / 437.5 MB, free: 10.6 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {(3,100.0%) 12,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002073/0.6075, allocations: 0.7901 MB / 438.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006201/0.6082, allocations: 197.6 kB / 438.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004381/0.6126, allocations: 2.427 MB / 441 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/0.6126, allocations: 12 kB / 441 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.6126, allocations: 8 kB / 441 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.6126, allocations: 7.969 kB / 441 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009474/0.6221, allocations: 5.311 MB / 446.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.6222, allocations: 4 kB / 446.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.6232, allocations: 268.1 kB / 446.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.6244, allocations: 457.2 kB / 447 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-05/0.6245, allocations: 35.98 kB / 447 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006916/0.6314, allocations: 6.723 MB / 453.8 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.6315, allocations: 11.94 kB / 453.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006169/0.6377, allocations: 3.611 MB / 457.4 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/0.6391, allocations: 454.5 kB / 457.8 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.6394, allocations: 31.98 kB / 457.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.6405, allocations: 119.8 kB / 458 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.6408, allocations: 104.8 kB / 458.1 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.6e-05/0.6409, allocations: 47.94 kB / 458.1 MB, free: 5.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002165/0.643, allocations: 1.279 MB / 459.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6431, allocations: 0 / 459.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002438/0.6455, allocations: 0.5469 MB / 460 MB, free: 3.516 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005262/0.646, allocations: 182.8 kB / 460.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004328/0.6504, allocations: 2.438 MB / 462.6 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.6504, allocations: 4 kB / 462.6 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002508/0.6529, allocations: 1.517 MB / 464.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/0.6558, allocations: 438.6 kB / 464.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.667, allocations: 6.116 MB / 470.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/0.669, allocations: 1.991 MB / 472.6 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009935/0.67, allocations: 143.4 kB / 472.8 MB, free: 6.504 MB / 382.1 MB Notification: Performance of SimCode: time 1.683e-06/0.67, allocations: 0 / 472.8 MB, free: 6.504 MB / 382.1 MB Notification: Performance of Templates: time 0.1058/0.7757, allocations: 69.81 MB / 0.5299 GB, free: 0.7305 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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.SMEE_GeneratorCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o] Error 1