Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008745/0.0008747, allocations: 84.14 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.0008421, allocations: 190.4 kB / 18.48 MB, free: 5.203 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.823/1.823, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004718/0.0004718, allocations: 8 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 47.59 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006039/0.1112, allocations: 5.407 MB / 334.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004404/0.1156, allocations: 2.03 MB / 336.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008745/0.1165, allocations: 16 kB / 336.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006464/0.1172, allocations: 206.7 kB / 336.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.119, allocations: 0.6414 MB / 337.3 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009506/0.12, allocations: 371.2 kB / 337.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1213, allocations: 1.078 MB / 338.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.1228, allocations: 0.9413 MB / 339.7 MB, free: 9.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.1234, allocations: 362.5 kB / 340 MB, free: 8.926 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/0.124, allocations: 461.9 kB / 340.5 MB, free: 8.473 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-05/0.1241, allocations: 48 kB / 340.5 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000626/0.1248, allocations: 199.8 kB / 340.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.125, allocations: 183.2 kB / 340.9 MB, free: 8.051 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.1252, allocations: 209.1 kB / 341.1 MB, free: 7.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.1263, allocations: 1.075 MB / 342.2 MB, free: 6.762 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.1263, allocations: 0 / 342.2 MB, free: 6.762 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1264, allocations: 0 / 342.2 MB, free: 6.762 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1264, allocations: 0 / 342.2 MB, free: 6.762 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002904/0.1293, allocations: 1.276 MB / 343.5 MB, free: 5.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.1293, allocations: 11.97 kB / 343.5 MB, free: 5.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.1321, allocations: 482.2 kB / 343.9 MB, free: 4.945 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.1332, allocations: 0.5529 MB / 344.5 MB, free: 4.352 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.1333, allocations: 77.98 kB / 344.6 MB, free: 4.273 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.1335, allocations: 104 kB / 344.7 MB, free: 4.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.1355, allocations: 1.063 MB / 345.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.1356, allocations: 0 / 345.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.1356, allocations: 40 kB / 345.8 MB, free: 3.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.1357, allocations: 28 kB / 345.8 MB, free: 2.992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.1374, allocations: 0.933 MB / 346.7 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/0.1433, allocations: 3.762 MB / 350.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002822/0.1462, allocations: 2.498 MB / 353 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009789/0.1471, allocations: 479.4 kB / 353.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.1473, allocations: 97.73 kB / 353.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009154/0.1482, allocations: 0.5008 MB / 354.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=86): time 2.725e-06/0.1482, allocations: 0 / 354.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=86): time 0.004385/0.1526, allocations: 1.714 MB / 355.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.1527, allocations: 196.9 kB / 356 MB, free: 8.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.1534, allocations: 477.9 kB / 356.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.1535, allocations: 41.7 kB / 356.5 MB, free: 7.605 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/0.1539, allocations: 439.3 kB / 356.9 MB, free: 7.168 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/0.1542, allocations: 279.9 kB / 357.2 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.1543, allocations: 16 kB / 357.2 MB, free: 6.875 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1545, allocations: 378.7 kB / 357.6 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/0.155, allocations: 285.9 kB / 357.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/0.1558, allocations: 0.5278 MB / 358.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.1564, allocations: 347.1 kB / 358.7 MB, free: 5.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1564, allocations: 4 kB / 358.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00194/0.1584, allocations: 1.096 MB / 359.8 MB, free: 4.137 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.1584, allocations: 8 kB / 359.8 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.1584, allocations: 4 kB / 359.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008042/0.1592, allocations: 279.6 kB / 360.1 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.1598, allocations: 155.8 kB / 360.2 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005088/0.1649, allocations: 4.395 MB / 364.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.1656, allocations: 111.2 kB / 364.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.1657, allocations: 39.98 kB / 364.8 MB, free: 14.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,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 (90): * Single equations (assignments): 88 * 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.0004492/0.1661, allocations: 249.7 kB / 365 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/0.1662, allocations: 67.16 kB / 365.1 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.1681, allocations: 0.9831 MB / 366.1 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.1681, allocations: 12 kB / 366.1 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1681, allocations: 8 kB / 366.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.1682, allocations: 11.88 kB / 366.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.1712, allocations: 1.963 MB / 368.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1713, allocations: 0 / 368.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.1717, allocations: 103.8 kB / 368.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007696/0.1725, allocations: 269.6 kB / 368.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/0.1725, allocations: 19.98 kB / 368.5 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.1776, allocations: 4.349 MB / 372.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1776, allocations: 0 / 372.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.1802, allocations: 1.408 MB / 374.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.1806, allocations: 224 kB / 374.4 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.152e-05/0.1807, allocations: 20 kB / 374.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.1811, allocations: 47.97 kB / 374.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.1813, allocations: 76.83 kB / 374.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/0.1813, allocations: 31.98 kB / 374.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004105/0.1817, allocations: 314.9 kB / 374.9 MB, free: 4.348 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1818, allocations: 0 / 374.9 MB, free: 4.348 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00117/0.1829, allocations: 311.1 kB / 375.2 MB, free: 4.043 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,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * 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 (59): * Single equations (assignments): 54 * 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.0002875/0.1832, allocations: 151.2 kB / 375.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.1855, allocations: 1.116 MB / 376.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.1855, allocations: 3.938 kB / 376.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.1867, allocations: 0.755 MB / 377.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.1874, allocations: 122.2 kB / 377.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1722/0.3596, allocations: 2.091 MB / 379.4 MB, free: 50.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.3603, allocations: 1 MB / 380.4 MB, free: 50.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.3606, allocations: 58.42 kB / 380.5 MB, free: 50.25 MB / 318.1 MB Notification: Performance of SimCode: time 1.552e-06/0.3606, allocations: 0 / 380.5 MB, free: 50.25 MB / 318.1 MB Notification: Performance of Templates: time 0.02807/0.3887, allocations: 17.45 MB / 397.9 MB, free: 43.73 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.RectifierCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.RectifierCalcHelperMain.o] Error 1