Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001603, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001842/0.001842, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.1 MB / 224.6 MB, free: 12.49 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 47.92 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.168, allocations: 46.64 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary): time 0.01741/0.1855, allocations: 11.61 MB / 338.9 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1957, allocations: 3.181 MB / 342 MB, free: 6.023 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003481/0.1994, allocations: 35.94 kB / 342.1 MB, free: 5.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.202, allocations: 0.5593 MB / 342.6 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.2056, allocations: 0.5779 MB / 343.2 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.2068, allocations: 359.7 kB / 343.6 MB, free: 4.492 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004378/0.2112, allocations: 2.125 MB / 345.7 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.2129, allocations: 0.8424 MB / 346.5 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.2149, allocations: 0.7505 MB / 347.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.2162, allocations: 0.8631 MB / 348.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.2164, allocations: 136 kB / 348.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.217, allocations: 175.9 kB / 348.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004182/0.2174, allocations: 350.4 kB / 348.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.2186, allocations: 0.9367 MB / 349.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.2213, allocations: 2.163 MB / 351.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.2213, allocations: 0 / 351.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.2213, allocations: 3.938 kB / 351.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.136e-05/0.2214, allocations: 0 / 351.9 MB, free: 12.09 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004881/0.2262, allocations: 2.064 MB / 354 MB, free: 9.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.508e-05/0.2263, allocations: 8.031 kB / 354 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.2273, allocations: 262.5 kB / 354.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.2293, allocations: 1.024 MB / 355.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.2294, allocations: 115.5 kB / 355.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.2297, allocations: 159.8 kB / 355.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.2328, allocations: 1.487 MB / 357 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/0.2328, allocations: 7.906 kB / 357 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.233, allocations: 64 kB / 357.1 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.2331, allocations: 36 kB / 357.1 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.2352, allocations: 0.9824 MB / 358.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.2463, allocations: 6.574 MB / 364.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.2475, allocations: 396.1 kB / 365.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/0.248, allocations: 226.1 kB / 365.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.647e-05/0.2481, allocations: 12.38 kB / 365.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009469/0.2491, allocations: 264.8 kB / 365.5 MB, free: 13.87 MB / 318.1 MB Notification: Performance of pre-optimization done (n=50): time 4.889e-06/0.2491, allocations: 0 / 365.5 MB, free: 13.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=56): time 0.004612/0.2537, allocations: 1.754 MB / 367.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/0.2539, allocations: 166.8 kB / 367.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.2563, allocations: 1.281 MB / 368.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/0.2564, allocations: 29.7 kB / 368.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.2575, allocations: 0.8751 MB / 369.7 MB, free: 9.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.2577, allocations: 205.2 kB / 369.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/0.2581, allocations: 218.6 kB / 370.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.2584, allocations: 353.9 kB / 370.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.2589, allocations: 234.5 kB / 370.6 MB, free: 8.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.26, allocations: 0.7995 MB / 371.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.2619, allocations: 1.13 MB / 372.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.2619, allocations: 4 kB / 372.6 MB, free: 6.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002855/0.2648, allocations: 1.169 MB / 373.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.223e-05/0.2649, allocations: 45.84 kB / 373.8 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.55e-05/0.265, allocations: 20 kB / 373.8 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/0.2653, allocations: 69.64 kB / 373.9 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.2662, allocations: 267.5 kB / 374.1 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.2694, allocations: 2.575 MB / 376.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.2708, allocations: 63.88 kB / 376.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.592e-05/0.2709, allocations: 60.09 kB / 376.8 MB, free: 1.555 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009369/0.2718, allocations: 365.2 kB / 377.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.2722, allocations: 134.4 kB / 377.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.2734, allocations: 0.5411 MB / 377.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.2735, allocations: 20.02 kB / 377.9 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2735, allocations: 0 / 377.9 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.2735, allocations: 3.984 kB / 377.9 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3468/0.6203, allocations: 1.87 MB / 379.8 MB, free: 51.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.6204, allocations: 4.828 kB / 379.8 MB, free: 51.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.621, allocations: 109.9 kB / 379.9 MB, free: 51.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002353/0.6213, allocations: 44.73 kB / 379.9 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.6213, allocations: 15.64 kB / 379.9 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002576/0.6239, allocations: 2.547 MB / 382.5 MB, free: 48.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.454e-05/0.6239, allocations: 8.766 kB / 382.5 MB, free: 48.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/0.6266, allocations: 0.9187 MB / 383.4 MB, free: 48.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007942/0.6274, allocations: 256.9 kB / 383.7 MB, free: 48.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.6276, allocations: 14.11 kB / 383.7 MB, free: 48.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.6282, allocations: 34.59 kB / 383.7 MB, free: 48.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/0.6284, allocations: 52.58 kB / 383.7 MB, free: 48.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.6285, allocations: 23.28 kB / 383.8 MB, free: 48.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002024/0.6305, allocations: 0.8446 MB / 384.6 MB, free: 47.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6305, allocations: 0 / 384.6 MB, free: 47.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001935/0.6325, allocations: 309.6 kB / 384.9 MB, free: 47.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadInertia1.phi,dcpm2.inertiaRotor.w,loadInertia2.phi) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00047/0.6329, allocations: 131.4 kB / 385 MB, free: 47.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002477/0.6354, allocations: 0.9235 MB / 386 MB, free: 47.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.6355, allocations: 1.281 kB / 386 MB, free: 47.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.6365, allocations: 459.7 kB / 386.4 MB, free: 46.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.6386, allocations: 313.1 kB / 386.7 MB, free: 46.76 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007561/0.6462, allocations: 3.202 MB / 389.9 MB, free: 44.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.648, allocations: 1.18 MB / 391.1 MB, free: 43.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/0.6485, allocations: 95.27 kB / 391.2 MB, free: 43.91 MB / 318.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6486, allocations: 0 / 391.2 MB, free: 43.91 MB / 318.1 MB Notification: Performance of Templates: time 0.0536/0.7022, allocations: 31.48 MB / 422.7 MB, free: 19.34 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationaryCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationaryCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationaryCalcHelperMain.o] Error 1