Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.00159/0.00159, allocations: 190 kB / 18.72 MB, free: 4.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.1 MB / 224.6 MB, free: 12.39 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.001228/0.001228, allocations: 55.92 kB / 280.6 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1374, allocations: 46.64 MB / 327.3 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01164/0.1491, allocations: 8.141 MB / 335.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00596/0.1551, allocations: 2.701 MB / 338.1 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.1567, allocations: 23.94 kB / 338.1 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.1584, allocations: 0.498 MB / 338.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.1601, allocations: 417.1 kB / 339 MB, free: 9.031 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.1607, allocations: 219.8 kB / 339.2 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.1625, allocations: 1.428 MB / 340.7 MB, free: 7.383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008228/0.1633, allocations: 0.5007 MB / 341.2 MB, free: 6.859 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007751/0.1641, allocations: 0.5055 MB / 341.7 MB, free: 6.352 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006165/0.1647, allocations: 0.5792 MB / 342.3 MB, free: 5.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.1648, allocations: 88 kB / 342.3 MB, free: 5.684 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.1652, allocations: 132 kB / 342.5 MB, free: 5.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.1654, allocations: 234.8 kB / 342.7 MB, free: 5.324 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.1661, allocations: 0.614 MB / 343.3 MB, free: 4.707 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.1675, allocations: 1.407 MB / 344.7 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1675, allocations: 0 / 344.7 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1675, allocations: 0 / 344.7 MB, free: 3.297 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.1676, allocations: 0 / 344.7 MB, free: 3.297 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002878/0.1704, allocations: 1.484 MB / 346.2 MB, free: 1.758 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.1705, allocations: 8.031 kB / 346.2 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000813/0.1713, allocations: 187.3 kB / 346.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.1726, allocations: 0.7502 MB / 347.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/0.1727, allocations: 78 kB / 347.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.1728, allocations: 103.9 kB / 347.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.1745, allocations: 0.9386 MB / 348.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.1746, allocations: 8 kB / 348.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/0.1747, allocations: 40 kB / 348.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.1747, allocations: 24 kB / 348.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.176, allocations: 0.6442 MB / 349 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005796/0.1818, allocations: 3.961 MB / 352.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.1826, allocations: 443.9 kB / 353.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006652/0.1833, allocations: 272.7 kB / 353.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/0.1834, allocations: 7.984 kB / 353.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.1834, allocations: 38.5 kB / 353.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 3.767e-06/0.1834, allocations: 0 / 353.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.003588/0.187, allocations: 1.541 MB / 355.2 MB, free: 8.309 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.1871, allocations: 85.11 kB / 355.3 MB, free: 8.207 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.1884, allocations: 0.8333 MB / 356.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.1885, allocations: 33.7 kB / 356.2 MB, free: 7.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005227/0.189, allocations: 0.5643 MB / 356.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.1892, allocations: 169.6 kB / 356.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.1894, allocations: 138.4 kB / 357 MB, free: 6.438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1896, allocations: 334 kB / 357.4 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.1899, allocations: 169.9 kB / 357.5 MB, free: 5.941 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.1905, allocations: 475.6 kB / 358 MB, free: 5.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.1917, allocations: 0.6797 MB / 358.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.1917, allocations: 4 kB / 358.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001499/0.1932, allocations: 0.7785 MB / 359.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.1932, allocations: 8.438 kB / 359.5 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.1932, allocations: 16 kB / 359.5 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.1936, allocations: 85.61 kB / 359.6 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.1941, allocations: 159.7 kB / 359.7 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.1969, allocations: 2.872 MB / 362.6 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.1977, allocations: 43.95 kB / 362.6 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.1978, allocations: 39.94 kB / 362.7 MB, free: 252 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00061/0.1984, allocations: 261.6 kB / 362.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.1986, allocations: 90.95 kB / 363 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.1998, allocations: 0.4951 MB / 363.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.1998, allocations: 4 kB / 363.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1998, allocations: 4 kB / 363.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1998, allocations: 3.984 kB / 363.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.2028, allocations: 1.48 MB / 365 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.2028, allocations: 7.938 kB / 365 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003695/0.2032, allocations: 71.89 kB / 365.1 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002999/0.2035, allocations: 74.03 kB / 365.2 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.2035, allocations: 15.98 kB / 365.2 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002832/0.2064, allocations: 2.841 MB / 368 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.2064, allocations: 4.031 kB / 368 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.2079, allocations: 0.7933 MB / 368.8 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.2084, allocations: 204 kB / 369 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.2085, allocations: 16.08 kB / 369 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.209, allocations: 31.97 kB / 369.1 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.2092, allocations: 31.94 kB / 369.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.2092, allocations: 20.12 kB / 369.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009451/0.2102, allocations: 0.5732 MB / 369.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2102, allocations: 3.828 kB / 369.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001154/0.2113, allocations: 208 kB / 369.9 MB, free: 8.586 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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,5,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.0003179/0.2117, allocations: 123.2 kB / 370 MB, free: 8.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.2132, allocations: 0.6972 MB / 370.7 MB, free: 7.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2132, allocations: 3.938 kB / 370.7 MB, free: 7.727 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007024/0.214, allocations: 454.7 kB / 371.2 MB, free: 7.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.2153, allocations: 215.1 kB / 371.4 MB, free: 7.051 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.219, allocations: 2.215 MB / 373.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008542/0.2198, allocations: 1.009 MB / 374.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.2201, allocations: 67.42 kB / 374.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2201, allocations: 0 / 374.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of Templates: time 0.3365/0.5566, allocations: 21.27 MB / 395.9 MB, free: 43.41 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.DCSE_SinglePhaseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhaseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhaseCalcHelperMain.o] Error 1