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.0008523/0.0008519, allocations: 89.25 kB / 17.58 MB, free: 5.758 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.000842/0.000842, allocations: 183.5 kB / 18.48 MB, free: 5.207 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.883/1.883, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0004822/0.0004822, allocations: 8 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1307, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary): time 0.01107/0.1419, allocations: 10.34 MB / 339.3 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007696/0.1496, allocations: 3.03 MB / 342.4 MB, free: 6.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.1523, allocations: 35.94 kB / 342.4 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.1547, allocations: 0.5125 MB / 342.9 MB, free: 6.094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.1579, allocations: 0.5467 MB / 343.5 MB, free: 5.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.1593, allocations: 259.6 kB / 343.7 MB, free: 5.289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003864/0.1631, allocations: 2.012 MB / 345.7 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.165, allocations: 0.6791 MB / 346.4 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.1668, allocations: 0.6728 MB / 347.1 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.1687, allocations: 0.7426 MB / 347.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005188/0.1692, allocations: 100 kB / 347.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009012/0.1702, allocations: 144 kB / 348.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003137/0.1705, allocations: 290.6 kB / 348.3 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007071/0.1712, allocations: 392.8 kB / 348.7 MB, free: 236 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.1735, allocations: 2.111 MB / 350.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1736, allocations: 4 kB / 350.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1736, allocations: 0 / 350.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.633e-05/0.1737, allocations: 0 / 350.8 MB, free: 14.11 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.003388/0.1771, allocations: 1.76 MB / 352.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1771, allocations: 16.03 kB / 352.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008614/0.178, allocations: 257.6 kB / 352.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.1798, allocations: 0.9886 MB / 353.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.793e-05/0.1799, allocations: 119.1 kB / 354 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.1802, allocations: 163.8 kB / 354.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/0.1831, allocations: 1.476 MB / 355.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.668e-05/0.1832, allocations: 11.91 kB / 355.6 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.1833, allocations: 64 kB / 355.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.1834, allocations: 36 kB / 355.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.1853, allocations: 0.9824 MB / 356.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009082/0.1944, allocations: 6.594 MB / 363.3 MB, free: 1.109 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007988/0.1953, allocations: 416 kB / 363.7 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.1957, allocations: 222.1 kB / 363.9 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.1957, allocations: 4.438 kB / 363.9 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005818/0.1963, allocations: 272.8 kB / 364.2 MB, free: 188 kB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.164e-06/0.1963, allocations: 0 / 364.2 MB, free: 188 kB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.003813/0.2001, allocations: 1.777 MB / 366 MB, free: 14.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.2003, allocations: 162.8 kB / 366.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.202, allocations: 1.265 MB / 367.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.2021, allocations: 37.7 kB / 367.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007011/0.2028, allocations: 0.8672 MB / 368.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.203, allocations: 205.2 kB / 368.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.203, allocations: 28 kB / 368.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2032, allocations: 353.9 kB / 368.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.2036, allocations: 226.5 kB / 369.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/0.2044, allocations: 0.7995 MB / 369.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/0.205, allocations: 403.5 kB / 370.3 MB, free: 9.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.2051, allocations: 7.953 kB / 370.3 MB, free: 9.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001873/0.2069, allocations: 1.173 MB / 371.5 MB, free: 8.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.94e-05/0.207, allocations: 41.7 kB / 371.5 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.207, allocations: 23.98 kB / 371.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.2073, allocations: 70.2 kB / 371.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/0.208, allocations: 271.5 kB / 371.9 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.2099, allocations: 2.579 MB / 374.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.2112, allocations: 71.94 kB / 374.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.2113, allocations: 64 kB / 374.6 MB, free: 5.039 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009689/0.2123, allocations: 373.1 kB / 374.9 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/0.2127, allocations: 134.3 kB / 375.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.2139, allocations: 0.5567 MB / 375.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.2139, allocations: 12 kB / 375.6 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2139, allocations: 0 / 375.6 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.214, allocations: 3.984 kB / 375.6 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/0.2171, allocations: 1.877 MB / 377.5 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.2171, allocations: 4 kB / 377.5 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.2175, allocations: 116.2 kB / 377.6 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001644/0.2177, allocations: 49.69 kB / 377.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.2178, allocations: 16 kB / 377.7 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2267/0.4445, allocations: 2.54 MB / 380.2 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.4445, allocations: 7.688 kB / 380.2 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.4464, allocations: 0.9351 MB / 381.2 MB, free: 48.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005496/0.4469, allocations: 256.6 kB / 381.4 MB, free: 48.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.4471, allocations: 17.72 kB / 381.4 MB, free: 48.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/0.4476, allocations: 36.98 kB / 381.5 MB, free: 48.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4477, allocations: 54.03 kB / 381.5 MB, free: 48.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.4478, allocations: 18.31 kB / 381.5 MB, free: 48.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001727/0.4495, allocations: 0.8389 MB / 382.4 MB, free: 48.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4495, allocations: 0.5 kB / 382.4 MB, free: 48.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001527/0.4511, allocations: 303.2 kB / 382.7 MB, free: 48.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002611/0.4513, allocations: 124.7 kB / 382.8 MB, free: 48.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.4531, allocations: 0.9271 MB / 383.7 MB, free: 48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4531, allocations: 1.531 kB / 383.7 MB, free: 48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006292/0.4537, allocations: 470 kB / 384.2 MB, free: 47.76 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.4554, allocations: 312.6 kB / 384.5 MB, free: 47.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.4603, allocations: 3.133 MB / 387.6 MB, free: 45.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009301/0.4612, allocations: 1.183 MB / 388.8 MB, free: 45.13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.4616, allocations: 91.61 kB / 388.9 MB, free: 45.13 MB / 318.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4616, allocations: 0 / 388.9 MB, free: 45.13 MB / 318.1 MB Notification: Performance of Templates: time 0.04207/0.5037, allocations: 31.29 MB / 420.2 MB, free: 21.71 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++ 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_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