Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009262/0.0009263, allocations: 90.94 kB / 17.64 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 192.2 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 227.3 MB / 246.6 MB, free: 10.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002255/0.0002256, allocations: 8 kB / 307.3 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.3085/0.4245, allocations: 24.69 MB / 383.5 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02266/0.4472, allocations: 6.603 MB / 390.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01036/0.4576, allocations: 238.5 kB / 390.3 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009077/0.4668, allocations: 1.37 MB / 391.7 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01644/0.4832, allocations: 2.084 MB / 393.8 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009351/0.4926, allocations: 1.531 MB / 395.3 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.05359/0.5462, allocations: 23.21 MB / 418.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09214/0.6384, allocations: 35.63 MB / 454.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02121/0.6597, allocations: 6.756 MB / 460.9 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02149/0.6812, allocations: 7.755 MB / 468.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007964/0.6893, allocations: 1.145 MB / 469.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.014/0.7033, allocations: 1.398 MB / 471.2 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008711/0.7121, allocations: 3.204 MB / 474.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0118/0.7239, allocations: 3.603 MB / 478 MB, free: 5.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04309/0.767, allocations: 33.26 MB / 0.4993 GB, free: 3.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.7671, allocations: 0 / 0.4993 GB, free: 3.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.7671, allocations: 0 / 0.4993 GB, free: 3.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001418/0.7685, allocations: 0 / 0.4993 GB, free: 3.871 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.05918/0.8277, allocations: 18.26 MB / 0.5171 GB, free: 1.488 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.8278, allocations: 8.031 kB / 0.5171 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04414/0.8719, allocations: 8.384 MB / 0.5253 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6412/1.513, allocations: 11.17 MB / 0.5362 GB, free: 109.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002422/1.516, allocations: 1.334 MB / 0.5375 GB, free: 109.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01116/1.527, allocations: 1.746 MB / 0.5392 GB, free: 108.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09867/1.626, allocations: 28.63 MB / 0.5672 GB, free: 97.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008696/1.626, allocations: 18.91 kB / 0.5672 GB, free: 97.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006678/1.633, allocations: 0.7214 MB / 0.5679 GB, free: 97.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009206/1.634, allocations: 0.8643 MB / 0.5688 GB, free: 97.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05658/1.691, allocations: 24.68 MB / 0.5929 GB, free: 75.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1555/1.846, allocations: 88.61 MB / 0.6794 GB, free: 2.078 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03303/1.879, allocations: 35.14 MB / 0.7137 GB, free: 11.65 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01047/1.89, allocations: 5.353 MB / 0.7189 GB, free: 6.281 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/1.891, allocations: 289.6 kB / 0.7192 GB, free: 5.977 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/1.891, allocations: 91.12 kB / 0.7193 GB, free: 5.875 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=589): time 7.474e-06/1.891, allocations: 0 / 0.7193 GB, free: 5.875 MB / 0.4982 GB Notification: Performance of matching and sorting (n=589): time 0.596/2.487, allocations: 14.52 MB / 0.7335 GB, free: 155.4 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/2.487, allocations: 137.7 kB / 0.7336 GB, free: 155.3 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01356/2.501, allocations: 6.377 MB / 0.7398 GB, free: 153.5 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.001291/2.502, allocations: 117.8 kB / 0.7399 GB, free: 153.4 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.006659/2.509, allocations: 7.593 MB / 0.7474 GB, free: 147.9 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.003474/2.512, allocations: 2.047 MB / 0.7494 GB, free: 146.3 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/2.513, allocations: 209.2 kB / 0.7496 GB, free: 146.2 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0006698/2.514, allocations: 0.747 MB / 0.7503 GB, free: 145.7 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007515/2.521, allocations: 4.775 MB / 0.755 GB, free: 143.9 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01125/2.533, allocations: 9.512 MB / 0.7642 GB, free: 135.9 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/2.544, allocations: 7.158 MB / 0.7712 GB, free: 132.8 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002064/2.544, allocations: 46.94 kB / 0.7713 GB, free: 132.8 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.03442/2.579, allocations: 15.45 MB / 0.7864 GB, free: 126.5 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004345/2.579, allocations: 77.73 kB / 0.7864 GB, free: 126.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005953/2.58, allocations: 162.7 kB / 0.7866 GB, free: 126.5 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006229/2.586, allocations: 1.683 MB / 0.7882 GB, free: 126.2 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009056/2.595, allocations: 2.348 MB / 0.7905 GB, free: 125.9 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/2.611, allocations: 10.83 MB / 0.8011 GB, free: 117.3 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/2.621, allocations: 1.347 MB / 0.8024 GB, free: 116 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003119/2.624, allocations: 0.5351 MB / 0.803 GB, free: 115.5 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1249): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01763/2.642, allocations: 7.145 MB / 0.8099 GB, free: 109.1 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002835/2.645, allocations: 0.6133 MB / 0.8105 GB, free: 108.5 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02299/2.668, allocations: 10.27 MB / 0.8206 GB, free: 98.14 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01413/2.682, allocations: 7.89 MB / 0.8283 GB, free: 90.17 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.252e-05/2.682, allocations: 12 kB / 0.8283 GB, free: 90.16 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001279/2.682, allocations: 31.89 kB / 0.8283 GB, free: 90.13 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0577/2.74, allocations: 26.44 MB / 0.8541 GB, free: 63.18 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/2.74, allocations: 8 kB / 0.8541 GB, free: 63.18 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003615/2.744, allocations: 1.002 MB / 0.8551 GB, free: 62.17 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004657/2.748, allocations: 1.477 MB / 0.8566 GB, free: 60.7 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007337/2.749, allocations: 128 kB / 0.8567 GB, free: 60.57 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/2.761, allocations: 10.41 MB / 0.8668 GB, free: 50.04 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/2.761, allocations: 15.94 kB / 0.8669 GB, free: 50.02 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01944/2.78, allocations: 14.32 MB / 0.8808 GB, free: 35.36 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004455/2.785, allocations: 1.457 MB / 0.8823 GB, free: 33.87 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001721/2.787, allocations: 116 kB / 0.8824 GB, free: 33.76 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003479/2.79, allocations: 319.7 kB / 0.8827 GB, free: 33.45 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007564/2.791, allocations: 404.5 kB / 0.8831 GB, free: 33.05 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003287/2.791, allocations: 168 kB / 0.8832 GB, free: 32.88 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.008151/2.799, allocations: 4.258 MB / 0.8874 GB, free: 28.66 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.452e-06/2.8, allocations: 2.625 kB / 0.8874 GB, free: 28.66 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01504/2.815, allocations: 4.043 MB / 0.8913 GB, free: 24.6 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (534): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001775/2.816, allocations: 320.4 kB / 0.8916 GB, free: 24.29 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.01874/2.835, allocations: 11.44 MB / 0.9028 GB, free: 12.8 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/2.835, allocations: 4 kB / 0.9028 GB, free: 12.79 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.008381/2.844, allocations: 4.719 MB / 0.9074 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3415/3.185, allocations: 1.489 MB / 0.9089 GB, free: 156.7 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07763/3.263, allocations: 34.72 MB / 0.9428 GB, free: 142.2 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02203/3.285, allocations: 10.9 MB / 0.9534 GB, free: 138.3 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003901/3.289, allocations: 0.5773 MB / 0.954 GB, free: 138.2 MB / 0.4983 GB Notification: Performance of SimCode: time 3.527e-06/3.289, allocations: 0 / 0.954 GB, free: 138.2 MB / 0.4983 GB Notification: Performance of Templates: time 0.7425/4.031, allocations: 280 MB / 1.227 GB, free: 37.93 MB / 0.4983 GB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbenchCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbenchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbenchCalcHelperMain.o] Error 1