Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009937/0.0009936, allocations: 88.86 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 206.2 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002348/0.0002348, allocations: 4 kB / 307.3 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1334, allocations: 51.48 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.006517/0.14, allocations: 5.438 MB / 364.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004401/0.1445, allocations: 2.03 MB / 366.3 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005599/0.145, allocations: 16 kB / 366.3 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.1457, allocations: 206.7 kB / 366.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.1471, allocations: 0.4895 MB / 367 MB, free: 5.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009617/0.1481, allocations: 386.9 kB / 367.3 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1492, allocations: 1.07 MB / 368.4 MB, free: 4.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.1508, allocations: 0.9453 MB / 369.4 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.1514, allocations: 366.4 kB / 369.7 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/0.152, allocations: 453.9 kB / 370.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.379e-05/0.1521, allocations: 48 kB / 370.2 MB, free: 2.605 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.1526, allocations: 207.8 kB / 370.4 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.1528, allocations: 175.2 kB / 370.6 MB, free: 2.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.153, allocations: 209.1 kB / 370.8 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.1542, allocations: 1.087 MB / 371.9 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1542, allocations: 0 / 371.9 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1542, allocations: 0 / 371.9 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.1543, allocations: 0 / 371.9 MB, free: 0.9297 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.2779/0.4322, allocations: 1.279 MB / 373.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.4323, allocations: 9.531 kB / 373.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.4353, allocations: 408.2 kB / 373.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.4367, allocations: 0.5527 MB / 374.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.4368, allocations: 75.92 kB / 374.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.437, allocations: 103.9 kB / 374.3 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.4396, allocations: 1.02 MB / 375.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.4397, allocations: 6.656 kB / 375.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.4398, allocations: 41.56 kB / 375.4 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.551e-05/0.4398, allocations: 26.09 kB / 375.4 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.4421, allocations: 0.8679 MB / 376.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006604/0.4487, allocations: 3.657 MB / 379.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.4512, allocations: 1.916 MB / 381.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.4524, allocations: 470.9 kB / 382.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.4526, allocations: 171.9 kB / 382.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/0.4539, allocations: 0.4972 MB / 382.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 3.647e-06/0.4539, allocations: 4 kB / 383 MB, free: 13.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=84): time 0.005294/0.4592, allocations: 1.702 MB / 384.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.4593, allocations: 196 kB / 384.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008507/0.4602, allocations: 472 kB / 385.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.011e-05/0.4603, allocations: 46.17 kB / 385.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/0.4607, allocations: 417.6 kB / 385.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.461, allocations: 266.8 kB / 386 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.461, allocations: 20.06 kB / 386 MB, free: 12.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4612, allocations: 373.5 kB / 386.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/0.4618, allocations: 276.4 kB / 386.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/0.4627, allocations: 495.4 kB / 387.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/0.4634, allocations: 333.8 kB / 387.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.4634, allocations: 2.531 kB / 387.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002385/0.4658, allocations: 1.048 MB / 388.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.4658, allocations: 13.05 kB / 388.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.4659, allocations: 5.281 kB / 388.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.4669, allocations: 265.6 kB / 388.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.4676, allocations: 154.1 kB / 389 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.4732, allocations: 4.403 MB / 393.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/0.474, allocations: 100.8 kB / 393.5 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.4741, allocations: 36.86 kB / 393.5 MB, free: 7.035 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y_last,iDC2.mean.y_last,$PRE.iAC.mean1.y_last,iAC.mean1.y_last,$PRE.iAC.mean2.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of prepare postOptimizeDAE: time 0.0006333/0.4748, allocations: 244.1 kB / 393.7 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.4749, allocations: 70.28 kB / 393.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.4773, allocations: 0.9814 MB / 394.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.4773, allocations: 8.719 kB / 394.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4773, allocations: 1.953 kB / 394.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.4774, allocations: 10.11 kB / 394.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/0.4809, allocations: 1.938 MB / 396.7 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.4809, allocations: 1.375 kB / 396.7 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004478/0.4813, allocations: 105 kB / 396.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008366/0.4822, allocations: 261.4 kB / 397.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/0.4822, allocations: 24.55 kB / 397.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/0.4871, allocations: 4.361 MB / 401.5 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.4871, allocations: 0 / 401.5 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.4896, allocations: 1.392 MB / 402.9 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.4899, allocations: 215.5 kB / 403.1 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.49, allocations: 19.92 kB / 403.1 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.4905, allocations: 55.52 kB / 403.2 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.4907, allocations: 68.5 kB / 403.2 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/0.4907, allocations: 23.7 kB / 403.3 MB, free: 44 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004716/0.4912, allocations: 328.4 kB / 403.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4912, allocations: 3.938 kB / 403.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001359/0.4926, allocations: 307.5 kB / 403.9 MB, free: 15.76 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003574/0.4929, allocations: 161.6 kB / 404 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.4954, allocations: 1.102 MB / 405.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.4954, allocations: 2.5 kB / 405.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.4968, allocations: 0.7392 MB / 405.9 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.4976, allocations: 124.8 kB / 406 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.5015, allocations: 2.05 MB / 408.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008501/0.5024, allocations: 1.002 MB / 409.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.5026, allocations: 59.42 kB / 409.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5026, allocations: 0 / 409.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of Templates: time 0.02758/0.5302, allocations: 17.4 MB / 426.5 MB, free: 9.379 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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.Electrical.QuasiStatic.SinglePhase.Examples.RectifierCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.RectifierCalcHelperMain.o] Error 1