Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) 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(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009078, allocations: 93.7 kB / 17.31 MB, free: 6.535 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.001095/0.001096, allocations: 182.7 kB / 18.21 MB, free: 5.68 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.779/1.779, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2043/0.2043, allocations: 38.05 MB / 310.7 MB, free: 5.914 MB / 254.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.0005792/0.0005794, allocations: 16 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3311, allocations: 56.32 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008355/0.3395, allocations: 6.765 MB / 440.9 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004793/0.3444, allocations: 1.96 MB / 442.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.3457, allocations: 35.75 kB / 442.9 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.3468, allocations: 190.8 kB / 443.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.3484, allocations: 350.3 kB / 443.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009286/0.3494, allocations: 203.8 kB / 443.6 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002223/0.3516, allocations: 1.418 MB / 445 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007805/0.3525, allocations: 424.9 kB / 445.5 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.3537, allocations: 370.3 kB / 445.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.3551, allocations: 454.3 kB / 446.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.3554, allocations: 36 kB / 446.3 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.3558, allocations: 36 kB / 446.3 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.3562, allocations: 223.3 kB / 446.6 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005906/0.3568, allocations: 380 kB / 446.9 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006539/0.3574, allocations: 0.8103 MB / 447.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3575, allocations: 0 / 447.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.3575, allocations: 0 / 447.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3575, allocations: 0 / 447.7 MB, free: 5.031 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001819/0.3593, allocations: 0.916 MB / 448.6 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3594, allocations: 8.031 kB / 448.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.3595, allocations: 79.94 kB / 448.7 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.3605, allocations: 0.6215 MB / 449.4 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.3606, allocations: 113.2 kB / 449.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.3607, allocations: 63.92 kB / 449.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.3618, allocations: 0.7577 MB / 450.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.3618, allocations: 0 / 450.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/0.3619, allocations: 24 kB / 450.3 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.3619, allocations: 16 kB / 450.3 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.3629, allocations: 0.6284 MB / 451 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.3659, allocations: 2.468 MB / 453.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009466/0.3669, allocations: 432.8 kB / 453.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.3673, allocations: 203.1 kB / 454 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.3674, allocations: 8.281 kB / 454.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004618/0.3678, allocations: 243.1 kB / 454.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.3678, allocations: 3.938 kB / 454.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.003205/0.3711, allocations: 0.8815 MB / 455.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.3712, allocations: 136.5 kB / 455.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.3717, allocations: 409.8 kB / 455.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.3717, allocations: 29.7 kB / 455.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.372, allocations: 320 kB / 456.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.3721, allocations: 114.3 kB / 456.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.3722, allocations: 45.7 kB / 456.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.3724, allocations: 362.8 kB / 456.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.3727, allocations: 124.8 kB / 456.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.3731, allocations: 250 kB / 456.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.3746, allocations: 0.6483 MB / 457.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3746, allocations: 0 / 457.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001061/0.3756, allocations: 0.5249 MB / 458.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3757, allocations: 4 kB / 458.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3757, allocations: 4 kB / 458.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000458/0.3762, allocations: 148.9 kB / 458.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.3765, allocations: 87.83 kB / 458.3 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003637/0.3801, allocations: 2.053 MB / 460.4 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.3804, allocations: 47.52 kB / 460.4 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.3805, allocations: 20 kB / 460.5 MB, free: 7.68 MB / 334.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = "s" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = "s" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004223/0.3809, allocations: 245.7 kB / 460.7 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/0.381, allocations: 43.44 kB / 460.7 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.3823, allocations: 486.5 kB / 461.2 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3823, allocations: 4 kB / 461.2 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3823, allocations: 8 kB / 461.2 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3823, allocations: 7.922 kB / 461.2 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008696/0.3832, allocations: 0.6745 MB / 461.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3832, allocations: 3.984 kB / 461.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.3834, allocations: 51.94 kB / 462 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004064/0.3839, allocations: 144.8 kB / 462.1 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.3839, allocations: 7.938 kB / 462.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/0.3869, allocations: 2.035 MB / 464.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3869, allocations: 7.875 kB / 464.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.3885, allocations: 0.6941 MB / 464.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.3887, allocations: 148.5 kB / 465 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.3887, allocations: 11.98 kB / 465 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.389, allocations: 19.98 kB / 465 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.3891, allocations: 35.89 kB / 465.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3891, allocations: 15.98 kB / 465.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003244/0.3894, allocations: 279.2 kB / 465.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3895, allocations: 0 / 465.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005924/0.3901, allocations: 163.5 kB / 465.5 MB, free: 2.355 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001526/0.3902, allocations: 115.1 kB / 465.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009953/0.3912, allocations: 0.4944 MB / 466.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3912, allocations: 0 / 466.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.3918, allocations: 339.4 kB / 466.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.3925, allocations: 145.8 kB / 466.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.3948, allocations: 1.628 MB / 468.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.3954, allocations: 0.9288 MB / 469.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.172e-05/0.3955, allocations: 39.38 kB / 469.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3955, allocations: 0 / 469.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of Templates: time 0.01354/0.409, allocations: 10.18 MB / 479.4 MB, free: 4.395 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.ChopperCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.ChopperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.ChopperCalcHelperMain.o] Error 1