Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008433/0.0008434, allocations: 95.47 kB / 17.64 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008887/0.0008888, allocations: 194.2 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.000347, allocations: 11.94 kB / 307.3 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1622, allocations: 51.48 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.4205/0.5828, allocations: 27.16 MB / 386 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03/0.6129, allocations: 8.248 MB / 394.2 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01211/0.6251, allocations: 176.8 kB / 394.4 MB, free: 1.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008905/0.634, allocations: 1.266 MB / 395.7 MB, free: 1.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01478/0.6489, allocations: 2.445 MB / 398.1 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00596/0.6549, allocations: 1.091 MB / 399.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02385/0.6787, allocations: 10.06 MB / 409.3 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02718/0.706, allocations: 10 MB / 419.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.7174, allocations: 3.145 MB / 422.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009852/0.7273, allocations: 3.638 MB / 426 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003474/0.7309, allocations: 488 kB / 426.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006663/0.7375, allocations: 0.8199 MB / 427.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004098/0.7417, allocations: 1.565 MB / 428.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005029/0.7468, allocations: 1.584 MB / 430.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01944/0.7662, allocations: 13.22 MB / 443.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.7663, allocations: 3.984 kB / 443.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.7663, allocations: 0 / 443.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000491/0.7668, allocations: 0 / 443.7 MB, free: 8.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02682/0.7936, allocations: 8.289 MB / 452 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.7937, allocations: 15.97 kB / 452 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02866/0.8223, allocations: 5.273 MB / 457.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/0.835, allocations: 4.892 MB / 462.2 MB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007109/0.8357, allocations: 0.5339 MB / 462.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003739/0.8395, allocations: 0.7107 MB / 463.4 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03465/0.8741, allocations: 11.26 MB / 474.7 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004727/0.8747, allocations: 19.83 kB / 474.7 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002728/0.8774, allocations: 303.9 kB / 475 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005228/0.8779, allocations: 443 kB / 475.4 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02772/0.9057, allocations: 10.76 MB / 486.2 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0827/0.9884, allocations: 38.99 MB / 0.5129 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3196/1.308, allocations: 28.24 MB / 0.5405 GB, free: 122 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007037/1.315, allocations: 2.663 MB / 0.5431 GB, free: 121.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/1.334, allocations: 8.449 MB / 0.5513 GB, free: 117.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.92e-05/1.334, allocations: 60.17 kB / 0.5514 GB, free: 117.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 5.53e-06/1.334, allocations: 2.156 kB / 0.5514 GB, free: 117.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.02862/1.363, allocations: 11.08 MB / 0.5622 GB, free: 113.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002108/1.365, allocations: 1.906 MB / 0.564 GB, free: 111.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007055/1.372, allocations: 3.811 MB / 0.5678 GB, free: 110.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005379/1.373, allocations: 69.39 kB / 0.5678 GB, free: 110 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002893/1.376, allocations: 3.56 MB / 0.5713 GB, free: 107.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001261/1.377, allocations: 0.8243 MB / 0.5721 GB, free: 106.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/1.377, allocations: 95.81 kB / 0.5722 GB, free: 106.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002683/1.377, allocations: 0.4942 MB / 0.5727 GB, free: 106.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/1.38, allocations: 1.871 MB / 0.5745 GB, free: 105.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004105/1.384, allocations: 4.374 MB / 0.5788 GB, free: 101.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/1.388, allocations: 2.818 MB / 0.5815 GB, free: 100.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.639e-05/1.388, allocations: 26.72 kB / 0.5816 GB, free: 100.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01198/1.4, allocations: 6.946 MB / 0.5883 GB, free: 97.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.585e-05/1.4, allocations: 46.45 kB / 0.5884 GB, free: 97.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/1.4, allocations: 86.62 kB / 0.5885 GB, free: 97.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/1.402, allocations: 0.7525 MB / 0.5892 GB, free: 97.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003618/1.406, allocations: 1.125 MB / 0.5903 GB, free: 96.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006082/1.412, allocations: 5.216 MB / 0.5954 GB, free: 90.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005388/1.417, allocations: 315 kB / 0.5957 GB, free: 90.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/1.419, allocations: 276 kB / 0.596 GB, free: 90.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006755/1.426, allocations: 2.518 MB / 0.5984 GB, free: 87.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/1.427, allocations: 391.2 kB / 0.5988 GB, free: 87.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007313/1.434, allocations: 4.27 MB / 0.603 GB, free: 83.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.434, allocations: 24 kB / 0.603 GB, free: 83.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.434, allocations: 4 kB / 0.603 GB, free: 83.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/1.434, allocations: 15.91 kB / 0.603 GB, free: 83.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02703/1.461, allocations: 14.28 MB / 0.617 GB, free: 68.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/1.462, allocations: 16.03 kB / 0.617 GB, free: 68.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.463, allocations: 475.2 kB / 0.6174 GB, free: 68.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/1.465, allocations: 0.6935 MB / 0.6181 GB, free: 67.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/1.465, allocations: 67.98 kB / 0.6182 GB, free: 67.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007596/1.473, allocations: 6.938 MB / 0.6249 GB, free: 60.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001504/1.475, allocations: 1.858 MB / 0.6268 GB, free: 58.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.485, allocations: 6.713 MB / 0.6333 GB, free: 51.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002788/1.488, allocations: 0.8043 MB / 0.6341 GB, free: 50.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/1.489, allocations: 60 kB / 0.6342 GB, free: 50.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/1.491, allocations: 168.3 kB / 0.6343 GB, free: 50.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004952/1.492, allocations: 217.7 kB / 0.6345 GB, free: 49.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.492, allocations: 95.86 kB / 0.6346 GB, free: 49.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004707/1.497, allocations: 2.494 MB / 0.6371 GB, free: 47.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.497, allocations: 0 / 0.6371 GB, free: 47.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008741/1.506, allocations: 1.303 MB / 0.6383 GB, free: 45.99 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.x) * 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 (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009937/1.507, allocations: 248.4 kB / 0.6386 GB, free: 45.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008884/1.516, allocations: 5.105 MB / 0.6435 GB, free: 40.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.717e-05/1.516, allocations: 4 kB / 0.6436 GB, free: 40.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00381/1.519, allocations: 2.389 MB / 0.6459 GB, free: 38.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006366/1.526, allocations: 0.9695 MB / 0.6468 GB, free: 37.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02589/1.552, allocations: 14.71 MB / 0.6612 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004624/1.556, allocations: 4.379 MB / 0.6655 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/1.558, allocations: 335.4 kB / 0.6658 GB, free: 17.56 MB / 446.1 MB Notification: Performance of SimCode: time 2.034e-06/1.558, allocations: 0 / 0.6658 GB, free: 17.56 MB / 446.1 MB Notification: Performance of Templates: time 0.6082/2.166, allocations: 200.4 MB / 0.8615 GB, free: 10.21 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuitCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuitCalcHelperMain.o] Error 1