Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009182/0.0009182, allocations: 96.17 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.000915/0.0009149, allocations: 198.7 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.641/1.641, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 8 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1688, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.0136/0.1825, allocations: 7.047 MB / 365.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007622/0.1902, allocations: 2.448 MB / 368.3 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.1921, allocations: 27.94 kB / 368.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.194, allocations: 461.4 kB / 368.8 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.1958, allocations: 369.2 kB / 369.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.1964, allocations: 151.8 kB / 369.3 MB, free: 3.621 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002018/0.1984, allocations: 1.292 MB / 370.6 MB, free: 2.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000916/0.1993, allocations: 435.1 kB / 371 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.2005, allocations: 450 kB / 371.4 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008413/0.2014, allocations: 493.6 kB / 371.9 MB, free: 0.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.2016, allocations: 60 kB / 372 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.202, allocations: 104 kB / 372.1 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.2023, allocations: 187.1 kB / 372.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.2027, allocations: 249.1 kB / 372.5 MB, free: 372 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3233/0.526, allocations: 1.331 MB / 373.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5261, allocations: 0.9375 kB / 373.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5261, allocations: 0 / 373.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.55e-05/0.5261, allocations: 0 / 373.8 MB, free: 11.23 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002207/0.5284, allocations: 1.253 MB / 375.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.5284, allocations: 9.562 kB / 375.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005928/0.529, allocations: 177.6 kB / 375.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.5304, allocations: 0.6839 MB / 376 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.505e-05/0.5305, allocations: 76.39 kB / 376 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.5306, allocations: 98.3 kB / 376.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.5329, allocations: 0.9254 MB / 377.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.5329, allocations: 2.422 kB / 377.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.533, allocations: 40.72 kB / 377.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.533, allocations: 27.34 kB / 377.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.5344, allocations: 0.6278 MB / 377.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005355/0.5397, allocations: 3.927 MB / 381.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007165/0.5405, allocations: 361.7 kB / 382 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.5408, allocations: 156.1 kB / 382.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.5408, allocations: 2.812 kB / 382.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.5409, allocations: 40.12 kB / 382.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.5409, allocations: 0 / 382.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002392/0.5433, allocations: 1.22 MB / 383.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.5433, allocations: 80.45 kB / 383.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.5445, allocations: 0.8196 MB / 384.3 MB, free: 7.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.5446, allocations: 34.98 kB / 384.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.5449, allocations: 0.5642 MB / 384.9 MB, free: 6.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.713e-05/0.5451, allocations: 131.7 kB / 385.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.5451, allocations: 15.31 kB / 385.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.5452, allocations: 334.9 kB / 385.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.5455, allocations: 148.3 kB / 385.6 MB, free: 6.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.546, allocations: 463 kB / 386 MB, free: 6.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.5465, allocations: 223 kB / 386.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.5465, allocations: 5.281 kB / 386.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001247/0.5477, allocations: 0.7087 MB / 386.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.5478, allocations: 14.8 kB / 387 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.5478, allocations: 10.94 kB / 387 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/0.548, allocations: 36.09 kB / 387 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.5485, allocations: 161.1 kB / 387.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008205/0.5493, allocations: 1.293 MB / 388.5 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.5498, allocations: 38.31 kB / 388.5 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.5499, allocations: 34.59 kB / 388.5 MB, free: 4.723 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003944/0.5503, allocations: 262.1 kB / 388.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.5504, allocations: 91.67 kB / 388.9 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007817/0.5512, allocations: 384.6 kB / 389.2 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.5513, allocations: 8.281 kB / 389.3 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5513, allocations: 0.875 kB / 389.3 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5513, allocations: 5 kB / 389.3 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.5532, allocations: 1.27 MB / 390.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.5532, allocations: 2.812 kB / 390.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.5536, allocations: 82.53 kB / 390.6 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.551e-05/0.5536, allocations: 29.3 kB / 390.6 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.5537, allocations: 10.66 kB / 390.6 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006569/0.5543, allocations: 1.272 MB / 391.9 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5544, allocations: 4.375 kB / 391.9 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009473/0.5553, allocations: 0.6543 MB / 392.6 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.5555, allocations: 183.8 kB / 392.8 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5556, allocations: 9.219 kB / 392.8 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.556, allocations: 33.41 kB / 392.8 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.5561, allocations: 24.39 kB / 392.8 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.5561, allocations: 13.59 kB / 392.8 MB, free: 2.281 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007916/0.5569, allocations: 0.5543 MB / 393.4 MB, free: 2.035 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5569, allocations: 4 kB / 393.4 MB, free: 2.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008742/0.5578, allocations: 192.8 kB / 393.6 MB, free: 2.012 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/0.558, allocations: 123.2 kB / 393.7 MB, free: 1.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.559, allocations: 0.5135 MB / 394.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.559, allocations: 1.094 kB / 394.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.5594, allocations: 277.4 kB / 394.5 MB, free: 1.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5605, allocations: 199 kB / 394.7 MB, free: 1.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.5647, allocations: 2.144 MB / 396.8 MB, free: 100 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009072/0.5656, allocations: 0.9958 MB / 397.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.5659, allocations: 56.94 kB / 397.9 MB, free: 15.26 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5659, allocations: 0 / 397.9 MB, free: 15.26 MB / 318.1 MB Notification: Performance of Templates: time 0.03294/0.5989, allocations: 15.61 MB / 413.5 MB, free: 3.199 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.DCMachines.DCEE_StartCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_StartCalcHelperMain.o] Error 1