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.001338/0.001338, allocations: 97.7 kB / 17.96 MB, free: 5.633 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.001667/0.001667, allocations: 176.3 kB / 18.86 MB, free: 4.77 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.255/2.255, allocations: 205.4 MB / 225 MB, free: 12.97 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.0007394/0.0007393, allocations: 8 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1494, allocations: 47.58 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01048/0.1599, allocations: 7.655 MB / 337.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005648/0.1656, allocations: 2.678 MB / 339.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009116/0.1665, allocations: 23.94 kB / 340 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.168, allocations: 0.4941 MB / 340.5 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.1694, allocations: 417 kB / 340.9 MB, free: 8.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.1699, allocations: 223.8 kB / 341.1 MB, free: 8.211 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.1715, allocations: 1.424 MB / 342.5 MB, free: 6.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007769/0.1723, allocations: 0.4928 MB / 343 MB, free: 6.266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.1729, allocations: 485.6 kB / 343.5 MB, free: 5.789 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006085/0.1735, allocations: 0.5324 MB / 344 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.1737, allocations: 64 kB / 344.1 MB, free: 5.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.174, allocations: 111.9 kB / 344.2 MB, free: 5.082 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.1741, allocations: 202.9 kB / 344.4 MB, free: 4.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005807/0.1747, allocations: 0.6079 MB / 345 MB, free: 4.266 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.1761, allocations: 1.371 MB / 346.4 MB, free: 2.891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1762, allocations: 0 / 346.4 MB, free: 2.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1762, allocations: 0 / 346.4 MB, free: 2.891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.1762, allocations: 8 kB / 346.4 MB, free: 2.883 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.00215/0.1784, allocations: 1.281 MB / 347.7 MB, free: 1.547 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1784, allocations: 8.031 kB / 347.7 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006646/0.1791, allocations: 191.3 kB / 347.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.1802, allocations: 0.7502 MB / 348.6 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.1803, allocations: 82 kB / 348.7 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.1805, allocations: 103.9 kB / 348.8 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.1822, allocations: 0.9503 MB / 349.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.1822, allocations: 0 / 349.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.317e-05/0.1823, allocations: 40 kB / 349.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.1824, allocations: 28 kB / 349.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.1836, allocations: 0.6675 MB / 350.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/0.1889, allocations: 3.969 MB / 354.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/0.1897, allocations: 455.8 kB / 354.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/0.1904, allocations: 272.7 kB / 355.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.1904, allocations: 4 kB / 355.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.1905, allocations: 38.56 kB / 355.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.633e-06/0.1905, allocations: 0 / 355.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.003111/0.1936, allocations: 1.584 MB / 356.8 MB, free: 8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.1937, allocations: 89.05 kB / 356.9 MB, free: 7.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.1948, allocations: 0.8372 MB / 357.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.1949, allocations: 29.7 kB / 357.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.1953, allocations: 0.572 MB / 358.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.1955, allocations: 157.8 kB / 358.4 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.1956, allocations: 69.61 kB / 358.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1958, allocations: 334 kB / 358.8 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.1962, allocations: 181.9 kB / 359 MB, free: 5.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.1968, allocations: 479.6 kB / 359.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/0.1978, allocations: 0.6914 MB / 360.2 MB, free: 4.262 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1978, allocations: 4 kB / 360.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001385/0.1992, allocations: 0.7983 MB / 361 MB, free: 3.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.1992, allocations: 8 kB / 361 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.1993, allocations: 8 kB / 361 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002763/0.1996, allocations: 93.86 kB / 361.1 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.2001, allocations: 159.7 kB / 361.2 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.2027, allocations: 2.88 MB / 364.1 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.2033, allocations: 48 kB / 364.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.2033, allocations: 40.06 kB / 364.2 MB, free: 15.94 MB / 318.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.0004557/0.2038, allocations: 261.5 kB / 364.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.2039, allocations: 86.97 kB / 364.5 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.2049, allocations: 0.5147 MB / 365.1 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.205, allocations: 4 kB / 365.1 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.205, allocations: 0 / 365.1 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.205, allocations: 7.984 kB / 365.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.2073, allocations: 1.492 MB / 366.6 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.2073, allocations: 3.984 kB / 366.6 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.2076, allocations: 79.88 kB / 366.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/0.2078, allocations: 69.81 kB / 366.7 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.2079, allocations: 15.98 kB / 366.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.2104, allocations: 2.856 MB / 369.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.2104, allocations: 0 / 369.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.2118, allocations: 0.8205 MB / 370.4 MB, free: 9.305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.2121, allocations: 204 kB / 370.6 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.2122, allocations: 11.94 kB / 370.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.2126, allocations: 39.97 kB / 370.7 MB, free: 9.035 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/0.2127, allocations: 35.89 kB / 370.7 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.2127, allocations: 16 kB / 370.7 MB, free: 8.984 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008323/0.2135, allocations: 0.5693 MB / 371.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2136, allocations: 3.938 kB / 371.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008322/0.2144, allocations: 212 kB / 371.5 MB, free: 8.207 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.0002342/0.2146, allocations: 119.2 kB / 371.6 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.2159, allocations: 0.7122 MB / 372.3 MB, free: 7.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2159, allocations: 0 / 372.3 MB, free: 7.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006814/0.2166, allocations: 463.1 kB / 372.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.2179, allocations: 230.7 kB / 373 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.2211, allocations: 2.289 MB / 375.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.2219, allocations: 1.009 MB / 376.3 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.222, allocations: 59.44 kB / 376.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of SimCode: time 2.104e-06/0.2221, allocations: 0 / 376.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of Templates: time 0.2731/0.4951, allocations: 21.13 MB / 397.5 MB, free: 42.46 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