Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DCMachines.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|dcpm.ia|dcpm.tauElectrical|dcee.ia|dcee.tauElectrical|dcse.ia|dcse.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w|loadInertia3.phi|loadInertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|dcpm.ia|dcpm.tauElectrical|dcee.ia|dcee.tauElectrical|dcse.ia|dcse.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w|loadInertia3.phi|loadInertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 91.19 kB / 16.95 MB, free: 5.664 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.001258/0.001258, allocations: 182.4 kB / 17.84 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 223.2 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003135, allocations: 4 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1271, allocations: 50.42 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics): time 0.02019/0.1473, allocations: 16.73 MB / 368.6 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2976/0.445, allocations: 5.349 MB / 374 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003536/0.4486, allocations: 63.88 kB / 374 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004545/0.4532, allocations: 1.057 MB / 375.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005844/0.459, allocations: 0.9945 MB / 376.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.4612, allocations: 419.1 kB / 376.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007478/0.4687, allocations: 3.534 MB / 380 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00266/0.4714, allocations: 1.159 MB / 381.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.4746, allocations: 1.16 MB / 382.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/0.4776, allocations: 1.302 MB / 383.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004536/0.4781, allocations: 173.1 kB / 383.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009647/0.4791, allocations: 217.1 kB / 384 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005356/0.4796, allocations: 0.4975 MB / 384.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.4808, allocations: 0.6364 MB / 385.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004242/0.485, allocations: 3.63 MB / 388.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.485, allocations: 1.094 kB / 388.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4851, allocations: 0 / 388.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000122/0.4852, allocations: 0 / 388.8 MB, free: 7.488 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: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.00654/0.4917, allocations: 2.844 MB / 391.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.4918, allocations: 8.969 kB / 391.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.4939, allocations: 481.3 kB / 392.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.4974, allocations: 1.635 MB / 393.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.4976, allocations: 194.1 kB / 393.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003316/0.4979, allocations: 264.5 kB / 394.2 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004804/0.5027, allocations: 2.455 MB / 396.6 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-05/0.5028, allocations: 20.28 kB / 396.7 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/0.503, allocations: 111.7 kB / 396.8 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-05/0.5031, allocations: 64.38 kB / 396.8 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003329/0.5064, allocations: 1.638 MB / 398.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01618/0.5226, allocations: 10.71 MB / 409.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.5242, allocations: 1.058 MB / 410.2 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006324/0.5248, allocations: 371.2 kB / 410.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.758e-05/0.5249, allocations: 12.09 kB / 410.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/0.5249, allocations: 47.16 kB / 410.7 MB, free: 8.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=81): time 6.031e-06/0.525, allocations: 0 / 410.7 MB, free: 8.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=90): time 0.007163/0.5321, allocations: 2.963 MB / 413.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/0.5323, allocations: 163.2 kB / 413.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004508/0.5368, allocations: 2.182 MB / 416 MB, free: 2.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.537, allocations: 49.69 kB / 416 MB, free: 2.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.5386, allocations: 1.465 MB / 417.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/0.539, allocations: 330.4 kB / 417.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.5391, allocations: 40 kB / 417.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.5393, allocations: 373.9 kB / 418.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007925/0.5401, allocations: 363.8 kB / 418.6 MB, free: 180 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.5416, allocations: 1.235 MB / 419.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.5427, allocations: 0.5715 MB / 420.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.5427, allocations: 12 kB / 420.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.003973/0.5467, allocations: 1.838 MB / 422.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001074/0.5478, allocations: 0.9668 MB / 423.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.9e-05/0.5478, allocations: 32 kB / 423.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006891/0.5485, allocations: 163.3 kB / 423.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.5497, allocations: 411.3 kB / 423.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005123/0.5549, allocations: 5.348 MB / 429.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002985/0.5579, allocations: 103.9 kB / 429.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/0.5581, allocations: 96 kB / 429.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.5582, allocations: 4 kB / 429.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002834/0.561, allocations: 1.582 MB / 430.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/0.561, allocations: 28.12 kB / 430.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/0.5616, allocations: 155.4 kB / 431.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.5628, allocations: 407.2 kB / 431.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004396/0.5672, allocations: 5.344 MB / 436.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.5698, allocations: 91.88 kB / 436.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.57, allocations: 91.98 kB / 437 MB, free: 11.78 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (223): * Single equations (assignments): 219 * 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 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001642/0.5716, allocations: 0.5855 MB / 437.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005734/0.5722, allocations: 229.2 kB / 437.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.574, allocations: 0.934 MB / 438.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.5741, allocations: 15.95 kB / 438.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5741, allocations: 0 / 438.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.5741, allocations: 3.984 kB / 438.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006212/0.5803, allocations: 3.144 MB / 441.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.5804, allocations: 4 kB / 441.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.581, allocations: 155.8 kB / 442.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/0.5814, allocations: 127.8 kB / 442.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.5815, allocations: 26.73 kB / 442.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004909/0.5864, allocations: 5.311 MB / 447.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/0.5864, allocations: 11.95 kB / 447.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003974/0.5904, allocations: 1.511 MB / 449 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/0.5924, allocations: 386.2 kB / 449.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/0.5936, allocations: 28 kB / 449.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/0.5954, allocations: 59.95 kB / 449.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.5956, allocations: 80.27 kB / 449.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.165e-05/0.5957, allocations: 32 kB / 449.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004583/0.6003, allocations: 1.434 MB / 451.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.02e-07/0.6003, allocations: 0 / 451.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00765/0.608, allocations: 0.9414 MB / 452 MB, free: 11.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (dcpm.inertiaRotor.w,loadInertia1.phi,dcee.inertiaRotor.w,loadInertia2.phi,dcse.inertiaRotor.w,loadInertia3.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 (82): * Single equations (assignments): 78 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005671/0.6086, allocations: 143.1 kB / 452.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005993/0.6146, allocations: 2.705 MB / 454.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-05/0.6146, allocations: 4 kB / 454.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.6161, allocations: 0.8212 MB / 455.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005638/0.6218, allocations: 0.5654 MB / 456.2 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.6342, allocations: 5.154 MB / 461.4 MB, free: 2.316 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002659/0.6369, allocations: 1.567 MB / 463 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008162/0.6378, allocations: 151.4 kB / 463.1 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of SimCode: time 2.194e-06/0.6378, allocations: 0 / 463.1 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of Templates: time 0.1266/0.7644, allocations: 78.27 MB / 0.5287 GB, free: 2.328 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristicsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristicsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristicsCalcHelperMain.o] Error 1